fixed possibly empty resources array
This commit is contained in:
parent
e2d543c8fd
commit
982778621c
|
@ -965,7 +965,8 @@ class CCPExecutionHistory extends HTMLElement {
|
|||
{
|
||||
target : "li",
|
||||
"in" : (e,d)=>{
|
||||
return d.resources.map(l=>{
|
||||
const resources = d.resources ? d.resurces : []
|
||||
return resources.map(l=>{
|
||||
return { href : this.#serviceurl + "/executions/" + d.id + "/" + l.path, path : l.path}
|
||||
})
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue