mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-15 04:13:47 +00:00
fix: show secondary timer only if active
This commit is contained in:
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(
|
||||
|
||||
Reference in New Issue
Block a user