diff --git a/src/pages/SchedulePresent.tsx b/src/pages/SchedulePresent.tsx index 7797e7e..c3c786a 100644 --- a/src/pages/SchedulePresent.tsx +++ b/src/pages/SchedulePresent.tsx @@ -21,7 +21,7 @@ tag after the days: each of the schedule's tags (087) and everything it's on, under each day's name A heading (086) is only a line on the overview; a break gets no - spotlight. "Only entries tagged" (`tag=`) cuts every slide + spotlight. "Only entries tagged" (`only=`) cuts every slide to what one tag is on, eg. for a screen outside the youth room. Keys while playing: arrows step, Space pauses, Escape leaves full @@ -97,7 +97,7 @@ function readSettings(params: URLSearchParams, days: Day[]) { return [kind.key, Number.isFinite(value) && value > 0 ? value : 0] }), ) as Record - return { pickedDays: new Set(pickedDays), hidden, seconds, only: params.get('tag') || null } + return { pickedDays: new Set(pickedDays), hidden, seconds, only: params.get('only') || null } } type Settings = ReturnType @@ -221,7 +221,8 @@ export default function SchedulePresent() { if (next.pickedDays.size < days.length) out.set('days', [...next.pickedDays].sort((a, b) => a - b).join(',')) if (next.hidden.size) out.set('hide', [...next.hidden].join(',')) for (const kind of KINDS) out.set(kind.key, String(next.seconds[kind.key])) - if (next.only) out.set('tag', next.only) + // Not 'tag': that's the tag slides' seconds. + if (next.only) out.set('only', next.only) out.set('play', '1') setParams(out) }}