Skip to content

Commit

Permalink
[Dashboard] Don't sort node list by defult (ray-project#25884)
Browse files Browse the repository at this point in the history
  • Loading branch information
SongGuyang authored Jun 20, 2022
1 parent 3de4657 commit e13cc40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dashboard/client/src/pages/node/hook/useNodeList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const useNodeList = () => {
{ key: "hostname" | "ip" | "state"; val: string }[]
>([]);
const [page, setPage] = useState({ pageSize: 10, pageNo: 1 });
const { sorterFunc, setOrderDesc, setSortKey, sorterKey } = useSorter("cpu");
const { sorterFunc, setOrderDesc, setSortKey, sorterKey } = useSorter("");
const tot = useRef<NodeJS.Timeout>();
const changeFilter = (key: "hostname" | "ip" | "state", val: string) => {
const f = filter.find((e) => e.key === key);
Expand Down

0 comments on commit e13cc40

Please sign in to comment.