mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
fix: Fix lag when node parameters are updated (#6941)
fix: Fix lag when node parameteres are updated
This commit is contained in:
@@ -181,6 +181,14 @@ export const nodeHelpers = defineComponent({
|
||||
}
|
||||
},
|
||||
|
||||
updateNodeCredentialIssuesByName(name: string): void {
|
||||
const node = this.workflowsStore.getNodeByName(name);
|
||||
|
||||
if (node) {
|
||||
this.updateNodeCredentialIssues(node);
|
||||
}
|
||||
},
|
||||
|
||||
// Updates the credential-issues of the node
|
||||
updateNodeCredentialIssues(node: INodeUi): void {
|
||||
const fullNodeIssues: INodeIssues | null = this.getNodeCredentialIssues(node);
|
||||
@@ -197,6 +205,14 @@ export const nodeHelpers = defineComponent({
|
||||
});
|
||||
},
|
||||
|
||||
updateNodeParameterIssuesByName(name: string): void {
|
||||
const node = this.workflowsStore.getNodeByName(name);
|
||||
|
||||
if (node) {
|
||||
this.updateNodeParameterIssues(node);
|
||||
}
|
||||
},
|
||||
|
||||
// Updates the parameter-issues of the node
|
||||
updateNodeParameterIssues(node: INodeUi, nodeType?: INodeTypeDescription): void {
|
||||
if (nodeType === undefined) {
|
||||
|
||||
Reference in New Issue
Block a user