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 = ({
|
export const PaginatedProjectFeatureToggles = ({
|
||||||
environments,
|
environments,
|
||||||
refreshInterval = 15 * 1000,
|
refreshInterval = 15 * 1000,
|
||||||
storageKey = 'project-feature-toggles',
|
storageKey = 'project-feature-toggles-v2',
|
||||||
}: IPaginatedProjectFeatureTogglesProps) => {
|
}: IPaginatedProjectFeatureTogglesProps) => {
|
||||||
const projectId = useRequiredPathParam('projectId');
|
const projectId = useRequiredPathParam('projectId');
|
||||||
|
|
||||||
@ -151,6 +151,7 @@ export const PaginatedProjectFeatureToggles = ({
|
|||||||
meta: {
|
meta: {
|
||||||
width: '1%',
|
width: '1%',
|
||||||
},
|
},
|
||||||
|
enableHiding: false,
|
||||||
}),
|
}),
|
||||||
columnHelper.accessor('favorite', {
|
columnHelper.accessor('favorite', {
|
||||||
id: 'favorite',
|
id: 'favorite',
|
||||||
@ -171,6 +172,7 @@ export const PaginatedProjectFeatureToggles = ({
|
|||||||
/>
|
/>
|
||||||
),
|
),
|
||||||
enableSorting: false,
|
enableSorting: false,
|
||||||
|
enableHiding: false,
|
||||||
meta: {
|
meta: {
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: '1%',
|
width: '1%',
|
||||||
|
Loading…
Reference in New Issue
Block a user