mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 20:24:05 -08:00
🐛 Fix bug
This commit is contained in:
parent
6cc6c6f138
commit
bbab4fc6e1
|
@ -1076,7 +1076,7 @@ export default mixins(
|
|||
// on the connection. So the one on the endpoint can be hidden.
|
||||
// @ts-ignore
|
||||
const outputNameOverlay = info.connection.endpoints[0].getOverlay('output-name-label');
|
||||
if (outputNameOverlay !== null) {
|
||||
if (![null, undefined].includes(outputNameOverlay)) {
|
||||
outputNameOverlay.setVisible(false);
|
||||
}
|
||||
|
||||
|
@ -1133,7 +1133,7 @@ export default mixins(
|
|||
// display the output-name overlays on the endpoint if any exist
|
||||
if (sourceEndpoint !== undefined && sourceEndpoint.connections!.length === 1) {
|
||||
const outputNameOverlay = sourceEndpoint.getOverlay('output-name-label');
|
||||
if (outputNameOverlay !== null) {
|
||||
if (![null, undefined].includes(outputNameOverlay)) {
|
||||
outputNameOverlay.setVisible(true);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue