From 23b0e675323d0607143956759b524e47e9074dff Mon Sep 17 00:00:00 2001 From: David Furey Date: Wed, 3 Jan 2024 16:17:49 +0000 Subject: [PATCH] Editorial is never explicitly set in the config --- public/src/js/troubleshoot/views/stale.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/js/troubleshoot/views/stale.js b/public/src/js/troubleshoot/views/stale.js index 4389c33b5ae..5d679eed675 100644 --- a/public/src/js/troubleshoot/views/stale.js +++ b/public/src/js/troubleshoot/views/stale.js @@ -134,7 +134,7 @@ function fetchLastPressed (front) { } function checkPressedState (front, config, container, lastPress) { - const priority = config.fronts[front].priority; + const priority = config.fronts[front].priority || "editorial"; if (lastPress) { const date = new Date(lastPress.pressedTime); const now = new Date();