mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
fix: strategy name sort (#2130)
This commit is contained in:
parent
528748e757
commit
e53d40c588
@ -175,8 +175,9 @@ export const StrategiesList = () => {
|
||||
disableGlobalFilter: true,
|
||||
},
|
||||
{
|
||||
id: 'Name',
|
||||
Header: 'Name',
|
||||
accessor: 'name',
|
||||
accessor: (row: any) => formatStrategyName(row.name),
|
||||
width: '90%',
|
||||
Cell: ({
|
||||
row: {
|
||||
@ -247,7 +248,7 @@ export const StrategiesList = () => {
|
||||
|
||||
const initialState = useMemo(
|
||||
() => ({
|
||||
sortBy: [{ id: 'name', desc: false }],
|
||||
sortBy: [{ id: 'Name', desc: false }],
|
||||
hiddenColumns: ['description', 'sortOrder'],
|
||||
}),
|
||||
[]
|
||||
|
Loading…
Reference in New Issue
Block a user