Merge pull request #16211 from mustafain117/ui-bug-fix

Fix rules UI to display correct value for 'keepFiringFor'
This commit is contained in:
Julius Volz 2025-03-18 12:43:44 +01:00 committed by GitHub
commit 7b4f093641
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -85,7 +85,7 @@ const RuleDefinition: FC<{ rule: Rule }> = ({ rule }) => {
styles={{ label: { textTransform: "none" } }}
leftSection={<IconClockPlay style={badgeIconStyle} />}
>
keep_firing_for: {formatPrometheusDuration(rule.duration * 1000)}
keep_firing_for: {formatPrometheusDuration(rule.keepFiringFor * 1000)}
</Badge>
)}
</Group>