fix(editor): Clear node creator and scrim on workspace reset (#5066)

🐛 Clear node creator and scrim on workspace reset
This commit is contained in:
Iván Ovejero 2023-01-03 11:25:07 +01:00 committed by GitHub
parent 3754c5c734
commit 43304b0691
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3503,6 +3503,9 @@ export default mixins(
resetWorkspace() { resetWorkspace() {
this.workflowsStore.resetWorkflow(); this.workflowsStore.resetWorkflow();
this.onToggleNodeCreator({ createNodeActive: false });
this.nodeCreatorStore.setShowScrim(false);
// Reset nodes // Reset nodes
this.deleteEveryEndpoint(); this.deleteEveryEndpoint();