Fix duplicate speakers

This commit is contained in:
tree 2023-01-30 05:32:22 +01:00
rodič d4862f096f
revize 863f9ef634
1 změnil soubory, kde provedl 1 přidání a 0 odebrání

Zobrazit soubor

@ -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);
}