Skip to content

Commit

Permalink
fix(tags): tag modification in triggered alerts page (#3873)
Browse files Browse the repository at this point in the history
Co-authored-by: Yunus M <myounis.ar@live.com>
  • Loading branch information
joemiltonm and YounixM authored Nov 9, 2023
1 parent d165f72 commit f939d41
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions frontend/src/container/TriggeredAlerts/NoFilterTable.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
/* eslint-disable react/display-name */
import { Tag, Typography } from 'antd';
import { Typography } from 'antd';
import { ColumnsType } from 'antd/lib/table';
import { ResizeTable } from 'components/ResizeTable';
import LabelColumn from 'components/TableRenderer/LabelColumn';
import AlertStatus from 'container/TriggeredAlerts/TableComponents/AlertStatus';
import convertDateToAmAndPm from 'lib/convertDateToAmAndPm';
import getFormattedDate from 'lib/getFormatedDate';
Expand Down Expand Up @@ -54,11 +55,7 @@ function NoFilterTable({
}

return (
<>
{withOutSeverityKeys.map((e) => (
<Tag key={e} color="magenta">{`${e} : ${labels[e]}`}</Tag>
))}
</>
<LabelColumn labels={withOutSeverityKeys} value={labels} color="magenta" />
);
},
},
Expand Down

0 comments on commit f939d41

Please sign in to comment.