Skip to content

Commit

Permalink
fix: measure filter short labels (#5924)
Browse files Browse the repository at this point in the history
  • Loading branch information
djbarnwal authored and AdityaHegde committed Oct 17, 2024
1 parent 73f4a26 commit d18f6a9
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,7 @@
case MeasureFilterOperation.NotEquals:
shortLabel =
AllMeasureFilterOperationOptions.find(
(o) =>
// svelte-check is throwing an error here stating `filter could be undefined` so we need this
o.value === filter?.operation ||
MeasureFilterOperation.GreaterThan,
(o) => o.value === filter?.operation,
)?.shortLabel +
" " +
filter.value1 +
Expand Down

1 comment on commit d18f6a9

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.