Skip to content

Commit

Permalink
Changed the label for filterOptions select box from New Alerting Temp…
Browse files Browse the repository at this point in the history
…late
  • Loading branch information
doracretu3pillar committed Nov 13, 2024
1 parent 86a8328 commit b5e48ee
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ const TemplateFiltersField: FC = () => {
} = useFormContext();
const filterOptions: Array<SelectableValue<AlertRuleFilterType>> = useMemo(
() =>
Object.entries(AlertRuleFilterType).map(([, value]) => ({
label: value,
value: value,
Object.entries(AlertRuleFilterType).map(([label, value]) => (
{
label,
value,
})),
[]
);
Expand Down

0 comments on commit b5e48ee

Please sign in to comment.