fixed var name

This commit is contained in:
dcore94 2023-03-07 14:24:32 +01:00
parent 1adbe0a00c
commit eb346144a8
1 changed files with 2 additions and 2 deletions

View File

@ -179,8 +179,8 @@ 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 => l.rel === "compatibleWith" && l.href === "infrastructures/" + infra.id) const matches = method.links.filter(l => l.rel === "compatibleWith" && l.href === "infrastructures/" + infra.id)
m["executable"] = matches.length > 0 method["executable"] = matches.length > 0
} }
} }
}).catch(err=>{ }).catch(err=>{