update config to api change
This commit is contained in:
1 parent
f09ca0507e
commit
7d64715c30
2 files changed
+9
-1
No files matched your search
+1
-1
@@ -81,7 +81,7 @@ async function getConfig () {
|
||||
async function populateResources () {
|
||||
const field = document.querySelector("#resources");
|
||||
if (type === "qemu") {
|
||||
const global = await requestAPI("/global/config/resources");
|
||||
const global = (await requestAPI("/global/config/resources")).resources;
|
||||
const user = await requestAPI("/user/config/resources");
|
||||
let options = [];
|
||||
const globalCPU = global.cpu;
|
||||
|
||||
Reference in new issue
Block a user