mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-31 00:16:47 +01:00
feat: disable sorting on selected columns (#5652)
This commit is contained in:
parent
cbd6aa1324
commit
bf4d37fded
@ -10,6 +10,7 @@ const StyledLink = styled(Link, {
|
||||
textDecorationColor: theme.palette.text.disabled,
|
||||
textDecorationStyle: 'dashed',
|
||||
textUnderlineOffset: theme.spacing(0.5),
|
||||
whiteSpace: 'nowrap',
|
||||
}));
|
||||
|
||||
interface ITooltipLinkProps extends LinkProps {
|
||||
|
@ -188,6 +188,7 @@ const FeatureToggleListTableComponent: VFC = () => {
|
||||
cell: ({ getValue, row }) => (
|
||||
<FeatureSegmentCell value={getValue()} row={row} />
|
||||
),
|
||||
enableSorting: false,
|
||||
}),
|
||||
columnHelper.accessor(
|
||||
(row) =>
|
||||
@ -199,6 +200,7 @@ const FeatureToggleListTableComponent: VFC = () => {
|
||||
cell: ({ getValue, row }) => (
|
||||
<FeatureTagCell value={getValue()} row={row} />
|
||||
),
|
||||
enableSorting: false,
|
||||
},
|
||||
),
|
||||
columnHelper.accessor('createdAt', {
|
||||
@ -217,6 +219,7 @@ const FeatureToggleListTableComponent: VFC = () => {
|
||||
columnHelper.accessor('stale', {
|
||||
header: 'State',
|
||||
cell: ({ getValue }) => <FeatureStaleCell value={getValue()} />,
|
||||
enableSorting: false,
|
||||
}),
|
||||
],
|
||||
[tableState.favoritesFirst],
|
||||
|
Loading…
Reference in New Issue
Block a user