Skip to content

Commit

Permalink
Fix filters
Browse files Browse the repository at this point in the history
  • Loading branch information
kapantzak committed Sep 12, 2024
1 parent 648eea7 commit 9faaad2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/utils/transformations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const getFilters = (labels: any[]) => {
return {
...defaultFilter,
...labels.reduce((acc: any, label: any) => {
acc[label.id] = (acc.vl || []).map((value: any) => value.id);
acc[label.id] = (label.vl || []).map((value: any) => value.id);
return acc;
}, {}),
};
Expand Down

0 comments on commit 9faaad2

Please sign in to comment.