Skip to content

Commit

Permalink
Merge pull request #514 from cloudnativedaysjp/fix/force_rehearsal_mode
Browse files Browse the repository at this point in the history
fix: Force rehearsal mode even when the pre-conference or conference day
  • Loading branch information
takaishi authored Jun 19, 2024
2 parents ebf0f1f + e9de80e commit 23cb2e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/store/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ const settingsSlice = createSlice({
let confDay = action.payload?.conferenceDays?.find(
(day) => day.date === today,
)
if (!confDay && state.event.rehearsalMode) {
if (state.event.rehearsalMode) {
console.warn(
'### rehearsal mode: fallback to the non-internal confence day',
'### rehearsal mode: fallback to the non-internal conference day',
)
confDay = (action.payload?.conferenceDays || [])?.find(
(conf) => !conf.internal,
Expand Down

0 comments on commit 23cb2e7

Please sign in to comment.