pinokiod 2.15.69 → 2.15.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1385,6 +1385,7 @@ document.querySelector("aside").addEventListener("click", async (e) => {
|
|
|
1385
1385
|
|
|
1386
1386
|
})
|
|
1387
1387
|
const refresh_du = () => {
|
|
1388
|
+
console.log("REFRESH DU")
|
|
1388
1389
|
fetch("/du/<%=name%>").then((res) => {
|
|
1389
1390
|
return res.json()
|
|
1390
1391
|
}).then((res) => {
|
|
@@ -1400,6 +1401,7 @@ const refresh_du = () => {
|
|
|
1400
1401
|
// KB
|
|
1401
1402
|
val = `${Math.floor(res.du/k * 100) / 100} KB`
|
|
1402
1403
|
}
|
|
1404
|
+
console.log("DU VAL", val)
|
|
1403
1405
|
//document.querySelector(".disk-usage").innerHTML = `<i class="fa-regular fa-hard-drive"></i> ${val}`
|
|
1404
1406
|
document.querySelector(".disk-usage").innerHTML = val
|
|
1405
1407
|
})
|