mirror of
https://github.com/vale981/ray
synced 2025-03-05 10:01:43 -05:00
[Dashboard] Don't sort node list by defult (#25884)
This commit is contained in:
parent
3de4657cae
commit
e13cc4088a
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue