Skip to content

Commit

Permalink
fix: column visibility (#5676)
Browse files Browse the repository at this point in the history
- always show favorites and selection
- reset local storage columns cache
  • Loading branch information
Tymek authored Dec 18, 2023
1 parent 9e95a65 commit b2c31a3
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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');

Expand Down Expand Up @@ -151,6 +151,7 @@ export const PaginatedProjectFeatureToggles = ({
meta: {
width: '1%',
},
enableHiding: false,
}),
columnHelper.accessor('favorite', {
id: 'favorite',
Expand All @@ -171,6 +172,7 @@ export const PaginatedProjectFeatureToggles = ({
/>
),
enableSorting: false,
enableHiding: false,
meta: {
align: 'center',
width: '1%',
Expand Down

1 comment on commit b2c31a3

@vercel
Copy link

@vercel vercel bot commented on b2c31a3 Dec 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

unleash-docs – ./website

unleash-docs.vercel.app
unleash-docs-unleash-team.vercel.app
unleash-docs-git-main-unleash-team.vercel.app

Please sign in to comment.