mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
feat: Replace all Vue.set usages with direct assignment and spread operator (no-changelog) (#6280)
* refactor: replace all Vue.set usages with direct assignment and spread operator * chore: fix linting issue * fix: fix updateNodeAtIndex function * fix: various post-refactoring fixes * fix: refactor recently added Vue.set directive
This commit is contained in:
@@ -409,8 +409,8 @@ export default defineComponent({
|
||||
},
|
||||
},
|
||||
watch: {
|
||||
activeNode(node: INodeUi | null) {
|
||||
if (node && !this.isActiveStickyNode) {
|
||||
activeNode(node: INodeUi | null, oldNode: INodeUi | null) {
|
||||
if (node && node.name !== oldNode?.name && !this.isActiveStickyNode) {
|
||||
this.runInputIndex = -1;
|
||||
this.runOutputIndex = -1;
|
||||
this.isLinkingEnabled = true;
|
||||
|
||||
Reference in New Issue
Block a user