Fix (2)
This commit is contained in:
rodič
4133eac2dc
revize
46859a6e5d
|
@ -21,10 +21,12 @@
|
|||
let found = null
|
||||
for (const e of bundle.events) {
|
||||
if (!e.speakers) continue;
|
||||
if (currentItem && e.id === currentItem.id) continue;
|
||||
found = e.speakers.find(s => s.id === it.id)
|
||||
found = e.speakers.find(s => {
|
||||
return s.id === it.id && s.name
|
||||
})
|
||||
if (found) break;
|
||||
}
|
||||
Object.assign(it, found)
|
||||
Object.assign(it, found || {})
|
||||
}
|
||||
return it
|
||||
}
|
||||
|
|
Načítá se…
Odkázat v novém úkolu