fix add new instance handler
This commit is contained in:
parent
84d3512417
commit
defc667041
@ -189,7 +189,7 @@ async function handleInstanceAdd () {
|
||||
templateImage.selectedIndex = -1;
|
||||
});
|
||||
|
||||
const userResources = await requestAPI("/user/resources", "GET");
|
||||
const userResources = await requestAPI("/user/dynamic/resources", "GET");
|
||||
const userCluster = await requestAPI("/user/config/cluster", "GET");
|
||||
d.querySelector("#cores").max = userResources.avail.cores;
|
||||
d.querySelector("#memory").max = userResources.avail.memory;
|
||||
|
Loading…
Reference in New Issue
Block a user