diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/tab-info-outliner.js b/packages/node_modules/@node-red/editor-client/src/js/ui/tab-info-outliner.js index 6949ad261..891f9f7dc 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/tab-info-outliner.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/tab-info-outliner.js @@ -175,7 +175,8 @@ RED.sidebar.info.outliner = (function() { if (targetState === undefined) { targetState = !n.d; } - if (!!n.d !== targetState) { + var state = !!n.d; + if (state !== targetState) { var historyEvent = { t: "edit", node: n,