cache-busting for radar worker

This commit is contained in:
Matt Walsh
2025-06-12 12:14:56 -05:00
parent c4f16d786a
commit 1dece10679
5 changed files with 29 additions and 4 deletions

View File

@@ -92,7 +92,7 @@ const updateStatus = (value) => {
if (displays[0].status === STATUS.loading) return;
// calculate first enabled display
const firstDisplayIndex = displays.findIndex((display) => display.enabled && display.timing.totalScreens > 0);
const firstDisplayIndex = displays.findIndex((display) => display?.enabled && display?.timing?.totalScreens > 0);
// value.id = 0 is hazards, if they fail to load hot-wire a new value.id to the current display to see if it needs to be loaded
// typically this plays out as current conditions loads, then hazards fails.