From ef12958952a0bf2fcbc793656e66416eb0e0555c Mon Sep 17 00:00:00 2001 From: silenceqi Date: Tue, 7 Sep 2021 13:25:12 +0800 Subject: [PATCH] modify active alert display color to red --- web/src/pages/Alerting/pages/Dashboard/utils/tableUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/pages/Alerting/pages/Dashboard/utils/tableUtils.js b/web/src/pages/Alerting/pages/Dashboard/utils/tableUtils.js index ca9e7f00..75108c9a 100644 --- a/web/src/pages/Alerting/pages/Dashboard/utils/tableUtils.js +++ b/web/src/pages/Alerting/pages/Dashboard/utils/tableUtils.js @@ -30,7 +30,7 @@ const renderTime = (time) => { const stateOptions = { 'ALL': formatMessage({ id: 'alert.dashboard.state-options.all' }), - [ALERT_STATE.ACTIVE]: formatMessage({ id: 'alert.dashboard.state-options.active' }), + [ALERT_STATE.ACTIVE]: {formatMessage({ id: 'alert.dashboard.state-options.active' })}, [ALERT_STATE.ACKNOWLEDGED]: formatMessage({ id: 'alert.dashboard.state-options.acknowledged' }), [ALERT_STATE.COMPLETED]: formatMessage({ id: 'alert.dashboard.state-options.completed' }), [ALERT_STATE.ERROR]: formatMessage({ id: 'alert.dashboard.state-options.error' }),