From 28fc36a1def97f3fa17de57c4e0670397c695204 Mon Sep 17 00:00:00 2001 From: Mateusz Kwasniewski Date: Thu, 1 Feb 2024 14:10:57 +0100 Subject: [PATCH] fix: exclude columns with commas (#6102) --- .../PaginatedProjectFeatureToggles/ProjectFeatureToggles.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/component/project/Project/PaginatedProjectFeatureToggles/ProjectFeatureToggles.tsx b/frontend/src/component/project/Project/PaginatedProjectFeatureToggles/ProjectFeatureToggles.tsx index 1abbb92efb..905cb23d4c 100644 --- a/frontend/src/component/project/Project/PaginatedProjectFeatureToggles/ProjectFeatureToggles.tsx +++ b/frontend/src/component/project/Project/PaginatedProjectFeatureToggles/ProjectFeatureToggles.tsx @@ -366,7 +366,9 @@ export const ProjectFeatureToggles = ({ }; setTableState({ columns: Object.keys(newColumnVisibility).filter( - (columnId) => newColumnVisibility[columnId], + (columnId) => + newColumnVisibility[columnId] && + !columnId.includes(','), ), }); },