mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
fix(editor): Fix mouse position in workflow previews (#7853)
This PR fixes mouse position detection in workflow previews (executions preview and workflow history view): https://github.com/n8n-io/n8n/assets/2598782/83237b76-b099-4560-9c47-a963f0848297 **Cause**: We were setting `isDemo` state in canvas store only when the `NodeView` component is activated, which never happens for `NodeView` instances that are kept alive (above mentioned workflow previews) **Fix**: This workflow updates store state also when the `NodeView` component is mounted.
This commit is contained in:
committed by
GitHub
parent
28ac5a750e
commit
c0633987bf
@@ -4705,6 +4705,7 @@ export default defineComponent({
|
||||
});
|
||||
|
||||
this.readOnlyEnvRouteCheck();
|
||||
this.canvasStore.isDemo = this.isDemo;
|
||||
},
|
||||
activated() {
|
||||
const openSideMenu = this.uiStore.addFirstStepOnLoad;
|
||||
|
||||
Reference in New Issue
Block a user