Skip to content

Commit

Permalink
Merge pull request #536 from pycontw/feat/keynote-2024
Browse files Browse the repository at this point in the history
feat(keynote): toggle keynote and fix js error in server
  • Loading branch information
baby230211 authored Jun 8, 2024
2 parents 6523dfb + ce9faad commit e678c98
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pages/conference/keynotes.vue
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ export default {
getKeynoteId(keynote) {
if (keynote.speaker.name_en_us) {
return keynote.speaker.name_en_us
.replaceAll(' ', '_')
.replaceAll('.', '')
.replace(/[' ']/g, '_')
.replace(/['.']/g, '')
}
},
getAttributeByLocale(data, attr) {
Expand Down
4 changes: 2 additions & 2 deletions store/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ export const state = () => ({
showRegistrationPage: true,
showEventOverviewPage: true,
showEventsPage: false,
showConferencePage: false,
showConferencePage: true,
showVenuePage: false,
showProposalSystemPage: true,
showIndexSponsorSection: true,
showIndexSecondaryBtn: false,
aboutHideItems: ['apacCommunity'], // ['pycontw', 'apacCommunity', 'history', 'community', 'codeOfConduct']
eventsHideItems: [], // ['sprints', 'openSpaces', 'jobs']
conferenceHideItems: [], // ['keynotes', 'talks', 'tutorials', 'panelDiscussion']
conferenceHideItems: ['talks', 'tutorials', 'panelDiscussion'], // ['keynotes', 'talks', 'tutorials', 'panelDiscussion']
registrationHideItems: ['tickets'], // ['tickets', 'financialAid']
venueHideItems: [], // ['venueInfo', 'accommodation']
},
Expand Down

0 comments on commit e678c98

Please sign in to comment.