Skip to content

Commit

Permalink
fix: remove hierarchy indentation in DatasetList
Browse files Browse the repository at this point in the history
  • Loading branch information
csm-thu committed Apr 3, 2024
1 parent 0601448 commit 6e14a20
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export const DatasetList = () => {
} = useDatasetList();

const sortedDatasetList = useMemo(() => {
return ResourceUtils.getResourceTree(datasets);
return ResourceUtils.sortResourceListByName(datasets);
}, [datasets]);

const [displayedDatasetList, setDisplayedDatasetList] = useState(sortedDatasetList);
Expand Down

0 comments on commit 6e14a20

Please sign in to comment.