diff --git a/ccp/js/methodeditorcontroller2.js b/ccp/js/methodeditorcontroller2.js index caa359e..a218cb2 100644 --- a/ccp/js/methodeditorcontroller2.js +++ b/ccp/js/methodeditorcontroller2.js @@ -25,7 +25,7 @@ class CCPMethodEditorController extends HTMLElement{ runtime : { id : "runtime", title : "Runtime", - description : "The image of the runtime to use for method execution. This depends on the infrastructure specific protocol for interacting with registries." + description : "The image of the runtime to use for method execution. This depends on the infrastructure specific protocol for interacting with registries.", minOccurs : 1, maxOccurs : 1, schema : { @@ -832,7 +832,7 @@ class CCPMethodEditorController extends HTMLElement{ reRenderInfrastructures(){ this.#rootdoc.querySelector("select[name=infrastructure-input]").innerHTML = this.renderInfrastructureOptions() - this.#rootdoc.querySelector("div[name=infrastructure-list]").innerHTML = this.renderInfrastructure() + this.#rootdoc.querySelector("div[name=infrastructure-list]").innerHTML = this.renderInfrastructures() } renderInfrastructureOptions(){ @@ -850,7 +850,7 @@ class CCPMethodEditorController extends HTMLElement{ ` } - renderRuntimes(){ + renderInfrastructures(){ return this.#current.links.filter(l=>l.rel === "compatibleWith").map((l, i)=>{ return `