fixed parentheses

This commit is contained in:
dcore94 2023-03-07 14:22:37 +01:00
parent 92297a226a
commit 1adbe0a00c
1 changed files with 1 additions and 1 deletions

View File

@ -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
}
}