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:
parent
9e95a6547e
commit
b2c31a3bd3
@ -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%',
|
||||
|
Loading…
Reference in New Issue
Block a user