From 1adbe0a00c13a6af96c21235355ecb39030b05ca Mon Sep 17 00:00:00 2001 From: dcore94 Date: Tue, 7 Mar 2023 14:22:37 +0100 Subject: [PATCH] fixed parentheses --- ccp/js/methodlistcontroller2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } }