modify active alert display color to red

This commit is contained in:
silenceqi 2021-09-07 13:25:12 +08:00
parent 91cef36ff0
commit ef12958952
1 changed files with 1 additions and 1 deletions

View File

@ -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]: <span style={{color:'red'}}>{formatMessage({ id: 'alert.dashboard.state-options.active' })}</span>,
[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' }),