Skip to content

Commit 413cc31

Browse files
committed
Fix filters
1 parent 9e17a58 commit 413cc31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shared/utils/transformations.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export const getFilters = (labels: any[]) => {
1919
return {
2020
...defaultFilter,
2121
...labels.reduce((acc: any, label: any) => {
22-
acc[label.id] = (acc.vl || []).map((value: any) => value.id);
22+
acc[label.id] = (label.vl || []).map((value: any) => value.id);
2323
return acc;
2424
}, {}),
2525
};

0 commit comments

Comments
 (0)