fixed var name
This commit is contained in:
parent
1adbe0a00c
commit
eb346144a8
|
@ -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=>{
|
||||||
|
|
Loading…
Reference in New Issue