From b2c31a3bd375684f9dcfb79435cdb33d4ee4b0f8 Mon Sep 17 00:00:00 2001 From: Tymoteusz Czech <2625371+Tymek@users.noreply.github.com> Date: Mon, 18 Dec 2023 16:24:39 +0100 Subject: [PATCH] fix: column visibility (#5676) - always show favorites and selection - reset local storage columns cache --- .../PaginatedProjectFeatureToggles.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/component/project/Project/PaginatedProjectFeatureToggles/PaginatedProjectFeatureToggles.tsx b/frontend/src/component/project/Project/PaginatedProjectFeatureToggles/PaginatedProjectFeatureToggles.tsx index fbce698909..6744d46ddb 100644 --- a/frontend/src/component/project/Project/PaginatedProjectFeatureToggles/PaginatedProjectFeatureToggles.tsx +++ b/frontend/src/component/project/Project/PaginatedProjectFeatureToggles/PaginatedProjectFeatureToggles.tsx @@ -66,7 +66,7 @@ const getRowId = (row: { name: string }) => row.name; export const PaginatedProjectFeatureToggles = ({ environments, refreshInterval = 15 * 1000, - storageKey = 'project-feature-toggles', + storageKey = 'project-feature-toggles-v2', }: IPaginatedProjectFeatureTogglesProps) => { const projectId = useRequiredPathParam('projectId'); @@ -151,6 +151,7 @@ export const PaginatedProjectFeatureToggles = ({ meta: { width: '1%', }, + enableHiding: false, }), columnHelper.accessor('favorite', { id: 'favorite', @@ -171,6 +172,7 @@ export const PaginatedProjectFeatureToggles = ({ /> ), enableSorting: false, + enableHiding: false, meta: { align: 'center', width: '1%',