diff --git a/ccp/js/infrastructurelistcontroller.js b/ccp/js/infrastructurelistcontroller.js index 5d76d17..0aef439 100644 --- a/ccp/js/infrastructurelistcontroller.js +++ b/ccp/js/infrastructurelistcontroller.js @@ -4,49 +4,26 @@ class CCPInfrastructureList extends HTMLElement{ #socket; #interval = null; #infrastructures; - #runtimes; #rootdoc; #style = ` - + `; @@ -81,20 +58,6 @@ class CCPInfrastructureList extends HTMLElement{ }).catch(err=>{ alert(err) }) - - /*const prom2 = this.#boot.secureFetch(this.#serviceurl + "/runtimes"). - then(resp=>{ - if(resp.status !== 200) throw "Unable to fetch runtimes"; - return resp.json() - }).then(data=>{ - this.#runtimes = data - }).catch(err=>{ - alert(err) - }) - - Promise.all([prom1, prom2]).then(results=>{ - this.showList() - })*/ } refreshInfrastructures(){ @@ -107,15 +70,8 @@ class CCPInfrastructureList extends HTMLElement{ return; } this.#rootdoc.innerHTML = ` -