fix instance populating
This commit is contained in:
parent
bb06579219
commit
a86df14fd7
4
index.js
4
index.js
@ -19,8 +19,8 @@ async function init () {
|
|||||||
|
|
||||||
let qemu = await request(`/nodes/${nodes.data[i].node}/qemu`, "GET", null);
|
let qemu = await request(`/nodes/${nodes.data[i].node}/qemu`, "GET", null);
|
||||||
let lxc = await request(`/nodes/${nodes.data[i].node}/lxc`, "GET", null);
|
let lxc = await request(`/nodes/${nodes.data[i].node}/lxc`, "GET", null);
|
||||||
newNode.qemu = qemu;
|
newNode.qemu = qemu.data;
|
||||||
newNode.lxc = lxc;
|
newNode.lxc = lxc.data;
|
||||||
|
|
||||||
nodeContainer.append(newNode);
|
nodeContainer.append(newNode);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user