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