fixed parentheses
This commit is contained in:
parent
92297a226a
commit
1adbe0a00c
|
@ -179,7 +179,7 @@ class CCPMethodList2 extends HTMLElement{
|
||||||
const method = this.#data[m]
|
const method = this.#data[m]
|
||||||
for(let i=0; i < infras.length; i++){
|
for(let i=0; i < infras.length; i++){
|
||||||
const infra = infras[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
|
m["executable"] = matches.length > 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue