fix(editor): Reset last interacted with when resetting the workspace on new canvas (no-changelog) (#11138)

This commit is contained in:
Alex Grozav 2024-10-07 16:17:39 +03:00 committed by GitHub
parent 0321582c11
commit d2713ae50a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1435,6 +1435,7 @@ export function useCanvasOperations({ router }: { router: ReturnType<typeof useR
workflowsStore.currentWorkflowExecutions = []; workflowsStore.currentWorkflowExecutions = [];
// Reset actions // Reset actions
uiStore.resetLastInteractedWith();
uiStore.removeActiveAction('workflowRunning'); uiStore.removeActiveAction('workflowRunning');
uiStore.stateIsDirty = false; uiStore.stateIsDirty = false;