Fix duplicate speakers
This commit is contained in:
rodič
d4862f096f
revize
863f9ef634
|
@ -14,6 +14,7 @@ export async function load(entry = '23', host = null) {
|
|||
for (const event of data.events) {
|
||||
if (!event.speakers) continue;
|
||||
for (const speaker of event.speakers) {
|
||||
if (!speaker.name) continue;
|
||||
speaker.events = [event.id];
|
||||
data.speakers.push(speaker);
|
||||
}
|
||||
|
|
Načítá se…
Odkázat v novém úkolu