Skip to content

Commit

Permalink
sort bank transactions by descening date (#1589)
Browse files Browse the repository at this point in the history
  • Loading branch information
dphilipov authored Sep 12, 2023
1 parent 3fd002c commit e08ff3c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/admin/bank-transactions/grid/Grid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,11 @@ export default observer(function Grid() {
rowCount={all_rows}
disableRowSelectionOnClick
isCellEditable={() => true}
initialState={{
sorting: {
sortModel: [{ field: 'transactionDate', sort: 'desc' }],
},
}}
/>
</Box>
</>
Expand Down

0 comments on commit e08ff3c

Please sign in to comment.