Skip to content

Commit

Permalink
fix: fix translation of selected option in filter panel
Browse files Browse the repository at this point in the history
  • Loading branch information
dziraf committed Jan 23, 2024
1 parent 3d0f1d9 commit b41934d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ const Filter: React.FC<FilterPropertyProps> = (props) => {
...v,
label: tl(`${property.path}.${v.value}`, property.resourceId, { defaultValue: v.label ?? v.value }),
}))
const selected = property.availableValues.find((av) => av.value === value)

const selected = availableValues.find((av) => av.value === value)

return (
<Select
variant="filter"
Expand Down

0 comments on commit b41934d

Please sign in to comment.