Hide "firing for time" if a rule is paused

This commit is contained in:
Tom Ratcliffe
2024-03-25 18:23:00 +00:00
committed by Tom Ratcliffe
parent 93fd11fe86
commit 1a5d227e05

View File

@@ -69,7 +69,7 @@ export const RuleState = ({ rule, isDeleting, isCreating, isPaused }: Props) =>
return (
<Stack gap={1}>
<AlertStateTag state={promRule.state} isPaused={isPaused} />
{forTime}
{!isPaused && forTime}
</Stack>
);
} else if (promRule && isRecordingRule(promRule)) {