fix instance populating
This commit is contained in:
@@ -35,6 +35,7 @@ class Node extends HTMLElement {
|
|||||||
for (let i = 0; i < qemu.length; i++) {
|
for (let i = 0; i < qemu.length; i++) {
|
||||||
let newInstance = document.createElement("instance-div");
|
let newInstance = document.createElement("instance-div");
|
||||||
newInstance.data = qemu[i];
|
newInstance.data = qemu[i];
|
||||||
|
qemuDiv.append(newInstance);
|
||||||
}
|
}
|
||||||
articleElement.append(qemuDiv);
|
articleElement.append(qemuDiv);
|
||||||
}
|
}
|
||||||
@@ -46,6 +47,7 @@ class Node extends HTMLElement {
|
|||||||
for (let i = 0; i < lxc.length; i++) {
|
for (let i = 0; i < lxc.length; i++) {
|
||||||
let newInstance = document.createElement("instance-div");
|
let newInstance = document.createElement("instance-div");
|
||||||
newInstance.data = lxc[i];
|
newInstance.data = lxc[i];
|
||||||
|
lxcDiv.append(newInstance);
|
||||||
}
|
}
|
||||||
articleElement.append(lxcDiv);
|
articleElement.append(lxcDiv);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user