mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-11 04:39:59 +08:00
BUG(FE): Fix trigger alerts (#398)
* fix(BUG): trigger alert sorting is fixed * fix(BUG): trigger alert sorting is fixed
This commit is contained in:
parent
0f59baf740
commit
319ca6af07
@ -30,7 +30,8 @@ const NoFilterTable = ({
|
||||
title: 'Alert Name',
|
||||
dataIndex: 'labels',
|
||||
key: 'alertName',
|
||||
sorter: (a, b): number => a.name.length - b.name.length,
|
||||
sorter: (a, b): number =>
|
||||
a.labels?.alertname?.length - b.labels?.alertname?.length,
|
||||
render: (data): JSX.Element => {
|
||||
const name = data?.alertname || '';
|
||||
return <Typography>{name}</Typography>;
|
||||
|
Loading…
x
Reference in New Issue
Block a user