Skip to content

Commit

Permalink
default sort is ascending
Browse files Browse the repository at this point in the history
Signed-off-by: yaacov <yzamir@redhat.com>
  • Loading branch information
yaacov committed Jul 11, 2023
1 parent 532f0eb commit 128d5a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/common/src/components/TableView/sort.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export const useSort = (
);

const [activeSort, setActiveSort] = useState<SortType>({
isAsc: false,
isAsc: true,
resourceFieldId: firstField?.resourceFieldId,
label: firstField?.label,
});
Expand Down

0 comments on commit 128d5a4

Please sign in to comment.