updated calls

This commit is contained in:
dcore94 2023-03-07 11:53:11 +01:00
parent 0a1bd35143
commit 42b506ecf6
1 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ class CCPMethodEditorController extends HTMLElement{
runtime : { runtime : {
id : "runtime", id : "runtime",
title : "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, minOccurs : 1,
maxOccurs : 1, maxOccurs : 1,
schema : { schema : {
@ -832,7 +832,7 @@ class CCPMethodEditorController extends HTMLElement{
reRenderInfrastructures(){ reRenderInfrastructures(){
this.#rootdoc.querySelector("select[name=infrastructure-input]").innerHTML = this.renderInfrastructureOptions() 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(){ renderInfrastructureOptions(){
@ -850,7 +850,7 @@ class CCPMethodEditorController extends HTMLElement{
` `
} }
renderRuntimes(){ renderInfrastructures(){
return this.#current.links.filter(l=>l.rel === "compatibleWith").map((l, i)=>{ return this.#current.links.filter(l=>l.rel === "compatibleWith").map((l, i)=>{
return ` return `
<div class="ccp-option badge ccp-keyword"> <div class="ccp-option badge ccp-keyword">