mirror of
https://github.com/cpvalente/ontime.git
synced 2026-09-10 08:39:34 +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 event = getFormattedEventData(eventNow, time);
|
||||||
const eventNextTitle = eventNext?.title || '-';
|
const eventNextTitle = eventNext?.title || '-';
|
||||||
const formattedTimerMessage = (message.timer.visible && message.timer.text) || '-';
|
const formattedTimerMessage = (message.timer.visible && message.timer.text) || '-';
|
||||||
const formattedSecondaryMessage = message.secondary || '-';
|
const formattedSecondaryMessage = message.timer.secondarySource === 'secondary' ? message.secondary || '-' : '-';
|
||||||
|
|
||||||
// gather presentation styles
|
// gather presentation styles
|
||||||
const timerColour = getTimerColour(
|
const timerColour = getTimerColour(
|
||||||
|
|||||||
Reference in New Issue
Block a user