Skip to content

Commit

Permalink
fix: strategy name sort (#2130)
Browse files Browse the repository at this point in the history
  • Loading branch information
nunogois committed Oct 4, 2022
1 parent 528748e commit e53d40c
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -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: {
Expand Down Expand Up @@ -247,7 +248,7 @@ export const StrategiesList = () => {

const initialState = useMemo(
() => ({
sortBy: [{ id: 'name', desc: false }],
sortBy: [{ id: 'Name', desc: false }],
hiddenColumns: ['description', 'sortOrder'],
}),
[]
Expand Down

0 comments on commit e53d40c

Please sign in to comment.