fix(editor): Prevent node-creator tabs from showing when toggled by CanvasAddButton (#4661)

This commit is contained in:
OlegIvaniv 2022-11-21 12:19:54 +01:00 committed by GitHub
parent 2fb8ed825b
commit 60746dc92e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -677,7 +677,9 @@ export default mixins(
this.nodeCreatorStore.selectedType = TRIGGER_NODE_FILTER;
this.nodeCreatorStore.showScrim = true;
this.onToggleNodeCreator({ source, createNodeActive: true });
this.nodeCreatorStore.showTabs = false;
this.$nextTick(() => {
this.nodeCreatorStore.showTabs = false;
});
},
async openExecution(executionId: string) {
this.startLoading();