Skip to content

Commit

Permalink
トラック5のケースでもスライドURL取得するように変更
Browse files Browse the repository at this point in the history
  • Loading branch information
yumechi committed Nov 23, 2023
1 parent 94fbed7 commit ac05842
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/timetable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ export const getStaticProps = async () => {
const short = await fetchTalks(SUBMISSION_TYPE_SHORT_TALK)
.then(sessions => sessions.map(session => {
session.content_locale = ['日本語', 'Japanese'].includes(contentLocales[session.code]) ? 'ja-jp' : 'en';
session.slide_url = slideUrls[session.code] ? slideUrls[session.code] : null;
return session;
}));

Expand Down

0 comments on commit ac05842

Please sign in to comment.