1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00

fix: column visibility (#5676)

- always show favorites and selection
- reset local storage columns cache
This commit is contained in:
Tymoteusz Czech 2023-12-18 16:24:39 +01:00 committed by GitHub
parent 9e95a6547e
commit b2c31a3bd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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%',