mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
refactor(editor): create ndv store (#4409)
* refactor ndv module out * update active node in root state * simplify * fix conflict * fix dragging
This commit is contained in:
@@ -112,7 +112,7 @@ export default mixins(
|
||||
},
|
||||
computed: {
|
||||
focusedMappableInput(): string {
|
||||
return this.$store.getters['ui/focusedMappableInput'];
|
||||
return this.$store.getters['ndv/focusedMappableInput'];
|
||||
},
|
||||
isUserOnboarded(): boolean {
|
||||
return window.localStorage.getItem(LOCAL_STORAGE_MAPPING_FLAG) === 'true';
|
||||
@@ -147,7 +147,7 @@ export default mixins(
|
||||
return this.workflow as Workflow;
|
||||
},
|
||||
activeNode (): INodeUi | null {
|
||||
return this.$store.getters.activeNode;
|
||||
return this.$store.getters['ndv/activeNode'];
|
||||
},
|
||||
currentNode (): INodeUi | null {
|
||||
return this.$store.getters.getNodeByName(this.currentNodeName);
|
||||
|
||||
Reference in New Issue
Block a user