rename instance to config,

simplify resource-chart code
This commit is contained in:
2025-04-02 20:39:38 +00:00
parent add58d849e
commit bd0387976f
12 changed files with 14 additions and 18 deletions

View File

@@ -179,7 +179,7 @@ class InstanceCard extends HTMLElement {
handleConfigButton () {
if (!this.actionLock && this.status === "stopped") { // if the action lock is false, and the node is stopped, then navigate to the config page with the node info in the search query
goToPage("instance.html", { node: this.node.name, type: this.type, vmid: this.vmid });
goToPage("config.html", { node: this.node.name, type: this.type, vmid: this.vmid });
}
}