mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 11:01:15 +00:00
feat(editor): Remove prevent-ndv-auto-open feature flag (#5114)
feature(editor): Remove `prevent-ndv-auto-open` feature flag
This commit is contained in:
@@ -1921,10 +1921,7 @@ export default mixins(
|
|||||||
// current node. But only if it's added manually by the user (not by undo/redo mechanism)
|
// current node. But only if it's added manually by the user (not by undo/redo mechanism)
|
||||||
if (trackHistory) {
|
if (trackHistory) {
|
||||||
this.deselectAllNodes();
|
this.deselectAllNodes();
|
||||||
const preventDetailOpen =
|
if (showDetail) {
|
||||||
window.posthog?.getFeatureFlag &&
|
|
||||||
window.posthog?.getFeatureFlag('prevent-ndv-auto-open') === 'prevent';
|
|
||||||
if (showDetail && !preventDetailOpen) {
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.nodeSelectedByName(newNodeData.name, nodeTypeName !== STICKY_NODE_TYPE);
|
this.nodeSelectedByName(newNodeData.name, nodeTypeName !== STICKY_NODE_TYPE);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user