From 76a54e48be5fad0423cc0032cc18388325a942d9 Mon Sep 17 00:00:00 2001 From: Jage9 Date: Fri, 27 Feb 2026 01:13:44 -0500 Subject: [PATCH] Render top-of-hour clock toggle as on/off in property UI --- client/public/version.js | 2 +- client/src/items/itemPropertyPresentation.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/client/public/version.js b/client/public/version.js index fdf6acd..a49f152 100644 --- a/client/public/version.js +++ b/client/public/version.js @@ -1,5 +1,5 @@ // Maintainer-controlled web client version. // Format: YYYY.MM.DD Rn (example: 2026.02.20 R2) -window.CHGRID_WEB_VERSION = "2026.02.25 R271"; +window.CHGRID_WEB_VERSION = "2026.02.25 R272"; // Optional display timezone for timestamps. Falls back to America/Detroit if unset/invalid. window.CHGRID_TIME_ZONE = "America/Detroit"; diff --git a/client/src/items/itemPropertyPresentation.ts b/client/src/items/itemPropertyPresentation.ts index 291737c..438235e 100644 --- a/client/src/items/itemPropertyPresentation.ts +++ b/client/src/items/itemPropertyPresentation.ts @@ -57,6 +57,7 @@ export function createItemPropertyPresentation(deps: PresentationDeps): { } if (key === 'timeZone') return String(item.params.timeZone ?? getDefaultClockTimeZone()); if (key === 'use24Hour') return item.params.use24Hour === true ? 'on' : 'off'; + if (key === 'topOfHourAnnounce') return item.params.topOfHourAnnounce === true ? 'on' : 'off'; if (key === 'mediaChannel') return normalizeRadioChannel(item.params.mediaChannel); if (key === 'mediaEffect') return normalizeRadioEffect(item.params.mediaEffect); if (key === 'mediaEffectValue') return String(normalizeRadioEffectValue(item.params.mediaEffectValue));