diff --git a/ccp/js/methodlistcontroller2.js b/ccp/js/methodlistcontroller2.js index 3cf8b06..aa88464 100644 --- a/ccp/js/methodlistcontroller2.js +++ b/ccp/js/methodlistcontroller2.js @@ -179,7 +179,7 @@ class CCPMethodList2 extends HTMLElement{ const method = this.#data[m] for(let i=0; i < infras.length; i++){ const infra = infras[i] - const matches = m.links.filter(l => return l.rel === "compatibleWith" && l.href === "infrastructures/" + infra.id + const matches = m.links.filter(l => l.rel === "compatibleWith" && l.href === "infrastructures/" + infra.id) m["executable"] = matches.length > 0 } }