From 42b506ecf613b4988cf333c66128ea57b5d13b05 Mon Sep 17 00:00:00 2001 From: dcore94 Date: Tue, 7 Mar 2023 11:53:11 +0100 Subject: [PATCH] updated calls --- ccp/js/methodeditorcontroller2.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 `