Added LXC resource page

This commit is contained in:
2023-03-21 22:45:56 +01:00
parent 4a997778e6
commit c66d035a1c
10 changed files with 212 additions and 68 deletions

View File

@@ -21,22 +21,6 @@ export function useNodes() {
["nodes"],
async () => {
return http.get<GetNodeResp>("/api2/json/nodes");
// return {
// data: {
// data: [
// {
// cpu: 0.0166442953020134,
// mem: 21713018880,
// maxmem: 29306216448,
// uptime: 4854322,
// status: "online",
// maxcpu: 12,
// node: "pve",
// },
// ] as ProxmoxNode[],
// },
// isSuccess: true,
// };
},
{ select: (data) => data.data.data, refetchInterval: 6000 }
);