Subdomain edit funktion eingebaut

This commit is contained in:
ecki
2026-03-22 16:50:36 +01:00
parent 0559cc4cd1
commit 49ae3a5c29
6 changed files with 123 additions and 36 deletions
+28 -6
View File
@@ -1,11 +1,33 @@
document.addEventListener("DOMContentLoaded", async () => {
await loadResources()
await loadDomains()
await loadMapping()
await loadCancelled()
await refreshAll()
loadInfrastructure()
loadCosts()
setInterval(refreshAll, 30000)
})
let refreshing = false
async function refreshAll(){
if(refreshing) return
refreshing = true
try{
await loadResources()
await loadDomains()
await loadMapping()
await loadCancelled()
loadInfrastructure()
loadCosts()
}catch(e){
console.error("Refresh error", e)
}
refreshing = false
}