cache-busting for radar worker
This commit is contained in:
parent
c4f16d786a
commit
1dece10679
5 changed files with 29 additions and 4 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue