mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
🐛 Fix UI blocking with large workflows (#2053)
* fix reactivity bug * Clean up props * add comma * clean up, reduce reactivity more * ts issues
This commit is contained in:
@@ -125,22 +125,30 @@ export default mixins(externalHooks, nodeBase, nodeHelpers, workflowHelpers).ext
|
||||
return 'play';
|
||||
}
|
||||
},
|
||||
nodeSubtitle (): string | undefined {
|
||||
return this.getNodeSubtitle(this.data, this.nodeType, this.workflow);
|
||||
},
|
||||
workflowRunning (): boolean {
|
||||
return this.$store.getters.isActionActive('workflowRunning');
|
||||
},
|
||||
workflow () {
|
||||
return this.getWorkflow();
|
||||
},
|
||||
watch: {
|
||||
isActive(newValue, oldValue) {
|
||||
if (!newValue && oldValue) {
|
||||
this.setSubtitle();
|
||||
}
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
this.setSubtitle();
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
isTouchActive: false,
|
||||
nodeSubtitle: '',
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
setSubtitle() {
|
||||
this.nodeSubtitle = this.getNodeSubtitle(this.data, this.nodeType, this.getWorkflow()) || '';
|
||||
},
|
||||
disableNode () {
|
||||
this.disableNodes([this.data]);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user