fix instance populating

This commit is contained in:
Arthur Lu 2022-12-11 20:22:37 -08:00
parent 067bc41d69
commit 0111f5d7c7

View File

@ -35,6 +35,7 @@ class Node extends HTMLElement {
for (let i = 0; i < qemu.length; i++) {
let newInstance = document.createElement("instance-div");
newInstance.data = qemu[i];
qemuDiv.append(newInstance);
}
articleElement.append(qemuDiv);
}
@ -46,6 +47,7 @@ class Node extends HTMLElement {
for (let i = 0; i < lxc.length; i++) {
let newInstance = document.createElement("instance-div");
newInstance.data = lxc[i];
lxcDiv.append(newInstance);
}
articleElement.append(lxcDiv);
}