diff --git a/ccp/js/methodlistcontroller2.js b/ccp/js/methodlistcontroller2.js index aa88464..285a65f 100644 --- a/ccp/js/methodlistcontroller2.js +++ b/ccp/js/methodlistcontroller2.js @@ -179,8 +179,8 @@ 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 => l.rel === "compatibleWith" && l.href === "infrastructures/" + infra.id) - m["executable"] = matches.length > 0 + const matches = method.links.filter(l => l.rel === "compatibleWith" && l.href === "infrastructures/" + infra.id) + method["executable"] = matches.length > 0 } } }).catch(err=>{