fix resource disk text assignment

This commit is contained in:
Arthur Lu 2022-12-14 17:28:48 -08:00
parent 1429175d97
commit f53048edc4

View File

@ -48,7 +48,7 @@ class Instance extends HTMLElement {
resourceSWAP.innerText = (data.maxswap / 1073741824).toFixed(3);
let resourceDISK = this.shadowElement.querySelector("#resource-disk");
resourceRAM.innerText = (data.maxdisk / 1073741824).toFixed(3);
resourceDISK.innerText = (data.maxdisk / 1073741824).toFixed(3);
}
}