From 3391232950e006b4734ffbc54e0aff58add335ea Mon Sep 17 00:00:00 2001 From: wongpratan Date: Tue, 29 Apr 2025 21:48:36 +0700 Subject: [PATCH] *Fix undefined - https://github.com/digi-serve/ns_app/issues/602 --- .../Designer/properties/process/ABProcessGatewayExclusive.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/rootPages/Designer/properties/process/ABProcessGatewayExclusive.js b/src/rootPages/Designer/properties/process/ABProcessGatewayExclusive.js index 566817f..e0839ab 100644 --- a/src/rootPages/Designer/properties/process/ABProcessGatewayExclusive.js +++ b/src/rootPages/Designer/properties/process/ABProcessGatewayExclusive.js @@ -193,9 +193,8 @@ export default function (AB) { this._element.process.connectionsOutgoing(this._element.diagramID); myOutgoingConnections.forEach((conn) => { obj.conditions[conn.id] = {}; - obj.conditions[conn.id].label = $$( - `${ids.component}_${conn.id}_label` - ).getValue(); + obj.conditions[conn.id].label = + $$(`${ids.component}_${conn.id}_label`)?.getValue() ?? ""; if (this.__dfLookup && this.__dfLookup[conn.id]) { const DF = this.__dfLookup[conn.id]; obj.conditions[conn.id].filterValue = DF.getValue();