1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

fix: exclude columns with commas (#6102)

This commit is contained in:
Mateusz Kwasniewski 2024-02-01 14:10:57 +01:00 committed by GitHub
parent 4e3ab7186c
commit 28fc36a1de
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -366,7 +366,9 @@ export const ProjectFeatureToggles = ({
};
setTableState({
columns: Object.keys(newColumnVisibility).filter(
(columnId) => newColumnVisibility[columnId],
(columnId) =>
newColumnVisibility[columnId] &&
!columnId.includes(','),
),
});
},