fix resource disk text assignment

This commit is contained in:
Arthur Lu 2022-12-14 17:28:48 -08:00
parent 9239b41e65
commit 3f33684edf

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);
}
}