From fb6896de76e3206ff283683d29589479478a0a99 Mon Sep 17 00:00:00 2001 From: Carlos Valente Date: Thu, 7 Nov 2024 21:32:33 +0100 Subject: [PATCH] refactor: show timer clock in preview --- apps/client/src/features/control/message/TimerPreview.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/client/src/features/control/message/TimerPreview.tsx b/apps/client/src/features/control/message/TimerPreview.tsx index 75bf04e04..4c3765ad5 100644 --- a/apps/client/src/features/control/message/TimerPreview.tsx +++ b/apps/client/src/features/control/message/TimerPreview.tsx @@ -27,6 +27,7 @@ export default function TimerPreview() { if (phase === TimerPhase.Pending) return 'Standby to start'; if (phase === TimerPhase.Overtime && data.endMessage) return 'Custom end message'; if (timerType === TimerType.TimeToEnd) return 'Time to end'; + if (timerType === TimerType.Clock) return 'Clock'; if (timerType === TimerType.None) return timerPlaceholder; return 'Timer'; })();