From 55ddf2575ca79c0ae58c930f949d9a42e1e8e6d6 Mon Sep 17 00:00:00 2001 From: GogoVega <92022724+GogoVega@users.noreply.github.com> Date: Mon, 27 Oct 2025 15:57:44 +0100 Subject: [PATCH] If `duration` is invalid set it to min instead of default --- packages/node_modules/@node-red/editor-client/src/js/ui/view.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/view.js b/packages/node_modules/@node-red/editor-client/src/js/ui/view.js index f7196f809..2377a6033 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/view.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/view.js @@ -4419,7 +4419,7 @@ RED.view = (function() { if (d.status.duration) { duration = parseInt(d.status.duration, 10); if (Number.isNaN(duration) || duration < MIN_STATUS_DURATION) { - duration = DEFAULT_STATUS_DURATION; + duration = MIN_STATUS_DURATION; } } if (d.status.ephemeral === true) {