Skip to content

Commit

Permalink
Little fix
Browse files Browse the repository at this point in the history
  • Loading branch information
santi-g-s committed May 22, 2023
1 parent eb726b9 commit 14e5189
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client/src/AdminDashboard/CityDataGrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,9 @@ function CityDataGrid() {
pageSize: 10,
},
},
sorting: {
sortModel: [{ field: 'year', sort: 'desc' }],
},
}}
pageSizeOptions={[5, 10, 20]}
checkboxSelection
Expand Down

0 comments on commit 14e5189

Please sign in to comment.