mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
🐛 Fix bug
This commit is contained in:
@@ -1076,7 +1076,7 @@ export default mixins(
|
|||||||
// on the connection. So the one on the endpoint can be hidden.
|
// on the connection. So the one on the endpoint can be hidden.
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
const outputNameOverlay = info.connection.endpoints[0].getOverlay('output-name-label');
|
const outputNameOverlay = info.connection.endpoints[0].getOverlay('output-name-label');
|
||||||
if (outputNameOverlay !== null) {
|
if (![null, undefined].includes(outputNameOverlay)) {
|
||||||
outputNameOverlay.setVisible(false);
|
outputNameOverlay.setVisible(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1133,7 +1133,7 @@ export default mixins(
|
|||||||
// display the output-name overlays on the endpoint if any exist
|
// display the output-name overlays on the endpoint if any exist
|
||||||
if (sourceEndpoint !== undefined && sourceEndpoint.connections!.length === 1) {
|
if (sourceEndpoint !== undefined && sourceEndpoint.connections!.length === 1) {
|
||||||
const outputNameOverlay = sourceEndpoint.getOverlay('output-name-label');
|
const outputNameOverlay = sourceEndpoint.getOverlay('output-name-label');
|
||||||
if (outputNameOverlay !== null) {
|
if (![null, undefined].includes(outputNameOverlay)) {
|
||||||
outputNameOverlay.setVisible(true);
|
outputNameOverlay.setVisible(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user