Skip to content

Commit be84d41

Browse files
committed
Fix groupingByList options type
1 parent ec41559 commit be84d41

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
@@ -26,5 +26,5 @@ export const getFilters = (labels: any[]) => {
2626
};
2727

2828
export const getGroupingByList = (labels: any) => {
29-
return { ...GroupByList, ...labels.map((label: any) => ({ value: label.id, label: label.id })) };
29+
return [...GroupByList, ...labels.map((label: any) => ({ value: label.id, label: label.id }))];
3030
};

0 commit comments

Comments
 (0)