From 79a1d6c561e98744e42bd7364c1d8dde6b1acf0a Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Wed, 6 Oct 2021 13:52:36 +0100 Subject: [PATCH] RED.notifiy.update should not change fixed state unless explicitly set --- .../@node-red/editor-client/src/js/ui/notifications.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/notifications.js b/packages/node_modules/@node-red/editor-client/src/js/ui/notifications.js index 057bfe1fc..30dcc4bd5 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/notifications.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/notifications.js @@ -222,7 +222,7 @@ RED.notifications = (function() { n.className = "red-ui-notification red-ui-notification-"+newType; } - if (!newOptions.fixed) { + if (!fixed || newOptions.fixed === false) { newTimeout = (newOptions.hasOwnProperty('timeout')?newOptions.timeout:timeout)||5000; } if (newOptions.buttons) {