Searched refs:alertStateToState (Results 1 – 7 of 7) sorted by relevance
4 import { alertStateToReadable, alertStateToState } from '../../utils/rules';11 <StateTag state={alertStateToState[state]}>{alertStateToReadable(state)}</StateTag>
5 const alertStateToState: Record<AlertState, State> = {15 export const AmAlertStateTag: FC<Props> = ({ state }) => <StateTag state={alertStateToState[state]}…
12 import { flattenRules, alertStateToState, getFirstActiveAt } from 'app/features/alerting/unified/ut…79 className={stateStyle[alertStateToState[rule.state]]}89 … <span className={stateStyle[alertStateToState[rule.state]]}>{rule.state.toUpperCase()}</span>{' '}
88 export const alertStateToState: Record<PromAlertingRuleState | GrafanaAlertState | AlertState, Stat… constant
1 …alertStateToState: Record<AlertState, State> = {\n [AlertState.Active]: 'bad',\n [AlertState.Unp…
1 …alertStateToState } from '../../utils/rules';\nimport { StateTag } from '../StateTag';\ninterface …