fix bugs with boot order interface
This commit is contained in:
@@ -449,7 +449,7 @@ async function refreshBoot () {
|
||||
if (boot.status !== 200) {
|
||||
alert("Error fetching instance boot order.");
|
||||
}
|
||||
else {
|
||||
else if (type === "qemu") {
|
||||
boot = boot.data;
|
||||
const order = document.querySelector("#boot-order");
|
||||
order.setHTMLUnsafe(boot);
|
||||
|
@@ -48,7 +48,7 @@ class DraggableContainer extends HTMLElement {
|
||||
|
||||
get value () {
|
||||
const value = [];
|
||||
this.content.childNodes.forEach((element) => {
|
||||
this.content.querySelectorAll(".draggable-item").forEach((element) => {
|
||||
if (element.dataset.value) {
|
||||
value.push(element.dataset.value);
|
||||
}
|
||||
|
Reference in New Issue
Block a user