fix(editor): Fix multiple-output endpoints success style after connection is detached (#5366)

This commit is contained in:
OlegIvaniv
2023-02-06 10:22:57 +01:00
committed by GitHub
parent 20356ba8c8
commit 9b628ddc34
2 changed files with 12 additions and 4 deletions

View File

@@ -148,12 +148,16 @@ export class N8nPlusEndpoint extends EndpointRepresentation<ComputedN8nPlusEndpo
if (this.params.showOutputLabel) {
this.label = label;
this.setStalkLabels();
return;
}
this.endpoint.addClass('ep-success--without-label');
}
clearSuccessOutput() {
this.endpoint.removeOverlay('successOutputOverlay');
this.endpoint.removeClass('ep-success');
this.endpoint.removeClass('ep-success--without-label');
this.label = '';
this.setStalkLabels();
}