Subdomain edit funktion eingebaut
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user