Skip to content

Commit

Permalink
Merge pull request #239 from yumechi/fix/track5_slide_url
Browse files Browse the repository at this point in the history
トラック5のケースでもスライドURL取得するように変更
  • Loading branch information
k-nakamura authored Nov 23, 2023
2 parents 94fbed7 + ac05842 commit 87561d3
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 87561d3

Please sign in to comment.