mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08: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:
parent
0e955760a1
commit
ab4785ab31
|
@ -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);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue