Skip to content

Commit 7b4f093

Browse files
authored
Merge pull request prometheus#16211 from mustafain117/ui-bug-fix
Fix rules UI to display correct value for 'keepFiringFor'
2 parents 37c2ebb + 92c9f71 commit 7b4f093

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/ui/mantine-ui/src/components/RuleDefinition.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ const RuleDefinition: FC<{ rule: Rule }> = ({ rule }) => {
8585
styles={{ label: { textTransform: "none" } }}
8686
leftSection={<IconClockPlay style={badgeIconStyle} />}
8787
>
88-
keep_firing_for: {formatPrometheusDuration(rule.duration * 1000)}
88+
keep_firing_for: {formatPrometheusDuration(rule.keepFiringFor * 1000)}
8989
</Badge>
9090
)}
9191
</Group>

0 commit comments

Comments
 (0)