Fix rules UI to display correct value for 'keepFiringFor'

Signed-off-by: Mustafain Ali Khan <mustalik@amazon.com>
This commit is contained in:
Mustafain Ali Khan 2025-03-13 16:18:24 -07:00 committed by machine424
parent f71ec8d5d5
commit b7fc01df0e
No known key found for this signature in database
GPG key ID: A4B001A4FDEE017D

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>