fix: show secondary timer only if active

This commit is contained in:
Carlos Valente
2025-10-05 08:43:24 +02:00
committed by Alex Christoffer Rasmussen
parent 4b81725e80
commit 1f0f92371f
@@ -27,7 +27,7 @@ export default function StudioTimers({ viewSettings }: StudioTimersProps) {
const event = getFormattedEventData(eventNow, time);
const eventNextTitle = eventNext?.title || '-';
const formattedTimerMessage = (message.timer.visible && message.timer.text) || '-';
const formattedSecondaryMessage = message.secondary || '-';
const formattedSecondaryMessage = message.timer.secondarySource === 'secondary' ? message.secondary || '-' : '-';
// gather presentation styles
const timerColour = getTimerColour(