mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Hide "firing for time" if a rule is paused
This commit is contained in:
committed by
Tom Ratcliffe
parent
93fd11fe86
commit
1a5d227e05
@@ -69,7 +69,7 @@ export const RuleState = ({ rule, isDeleting, isCreating, isPaused }: Props) =>
|
|||||||
return (
|
return (
|
||||||
<Stack gap={1}>
|
<Stack gap={1}>
|
||||||
<AlertStateTag state={promRule.state} isPaused={isPaused} />
|
<AlertStateTag state={promRule.state} isPaused={isPaused} />
|
||||||
{forTime}
|
{!isPaused && forTime}
|
||||||
</Stack>
|
</Stack>
|
||||||
);
|
);
|
||||||
} else if (promRule && isRecordingRule(promRule)) {
|
} else if (promRule && isRecordingRule(promRule)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user