File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/containers/Tenant/Diagnostics/TopQueries Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 11import React from 'react' ;
22
33import type { Settings } from '@gravity-ui/react-data-table' ;
4+ import DataTable from '@gravity-ui/react-data-table' ;
45
56import { prepareBackendSortFieldsFromTableSort , useTableSort } from '../../../../utils/hooks' ;
67import { QUERY_TABLE_SETTINGS } from '../../utils/constants' ;
@@ -15,9 +16,9 @@ export const TOP_QUERIES_TABLE_SETTINGS: Settings = {
1516function useQueriesSort ( initialSortColumn : string ) {
1617 const [ tableSort , handleTableSort ] = useTableSort ( {
1718 initialSortColumn : initialSortColumn ,
18- initialSortOrder : - 1 ,
19+ initialSortOrder : DataTable . DESCENDING ,
1920 multiple : true ,
20- fixedOrderType : - 1 ,
21+ fixedOrderType : DataTable . DESCENDING ,
2122 } ) ;
2223
2324 const backendSort = React . useMemo (
You can’t perform that action at this time.
0 commit comments