Skip to content

Commit

Permalink
feat: added new form field
Browse files Browse the repository at this point in the history
  • Loading branch information
martinheidegger committed Oct 20, 2023
1 parent d211ddf commit 0054825
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion 2023/scripts/import-talks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ type PresentationRow = {
"slides-en": string
"slides-ja": string
"description-ja": string
"slides-language": string
}
type TimetableRow = {
start: string
Expand Down Expand Up @@ -292,7 +293,7 @@ async function loadImage(speaker: string, imageUrl: string): Promise<string> {
description: todoToEmpty(talk["description-en"]),
descriptionJa: todoToEmpty(talk["description-ja"]),
spokenLanguage: talk["spoken-language"],
slideLanguage: talk["spoken-language"],
slideLanguage: talk["slides-language"] || talk["spoken-language"],
speakerIDs: sessionSpeakers.map(({ uuid }) => uuid),
}
})
Expand Down

0 comments on commit 0054825

Please sign in to comment.