From 9425548a855f543c8cc76b2c4fbbccc82df0cb44 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Tue, 12 Oct 2021 21:11:20 +0100 Subject: [PATCH] Ensure message tools stay attached to top-level entry in Debug/Context Fixes #3180 --- .../@node-red/editor-client/src/js/ui/utils.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/utils.js b/packages/node_modules/@node-red/editor-client/src/js/ui/utils.js index 67795cc55..87060436d 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/utils.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/utils.js @@ -563,7 +563,8 @@ RED.utils = (function() { expandPaths: expandPaths, ontoggle: ontoggle, exposeApi: exposeApi, - tools: tools + // tools: tools // Do not pass tools down as we + // keep them attached to the top-level header } ).appendTo(row); } @@ -592,7 +593,8 @@ RED.utils = (function() { expandPaths: expandPaths, ontoggle: ontoggle, exposeApi: exposeApi, - tools: tools + // tools: tools // Do not pass tools down as we + // keep them attached to the top-level header } ).appendTo(row); } @@ -647,7 +649,8 @@ RED.utils = (function() { expandPaths: expandPaths, ontoggle: ontoggle, exposeApi: exposeApi, - tools: tools + // tools: tools // Do not pass tools down as we + // keep them attached to the top-level header } ).appendTo(row); }