From 8a8245b560c22335ea7f7341dcf579cc05d5e97d Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Mon, 15 Jan 2024 16:54:16 +0000 Subject: [PATCH] Include top level property name when copying path from context Fixes #4485 --- .../@node-red/editor-client/src/js/ui/tab-context.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/tab-context.js b/packages/node_modules/@node-red/editor-client/src/js/ui/tab-context.js index 0d8ba103f..6cb034ccc 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/tab-context.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/tab-context.js @@ -232,7 +232,7 @@ RED.sidebar.context = (function() { typeHint: data.format, sourceId: id+"."+k, tools: tools, - path: "" + path: k }).appendTo(propRow.children()[1]); } }) @@ -278,7 +278,7 @@ RED.sidebar.context = (function() { typeHint: data.format, sourceId: id+"."+k, tools: tools, - path: "" + path: k }).appendTo(propRow.children()[1]); } }); @@ -299,7 +299,7 @@ RED.sidebar.context = (function() { typeHint: v.format, sourceId: id+"."+k, tools: tools, - path: "" + path: k }).appendTo(propRow.children()[1]); if (contextStores.length > 1) { $("",{class:"red-ui-sidebar-context-property-storename"}).text(v.store).appendTo($(propRow.children()[0]))