File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ const useStore = create<AppStore>()(
172
172
const sourceComponent =
173
173
sourceNode && lookupEipComponent ( sourceNode . data . eipId )
174
174
const edge =
175
- sourceComponent ?. role === "router "
175
+ sourceComponent ?. connectionType === "content_based_router "
176
176
? createDynamicRoutingEdge ( connection , sourceComponent )
177
177
: connection
178
178
return {
@@ -638,7 +638,7 @@ const diagramToEipFlow = (state: AppStore): EipFlow => {
638
638
639
639
const routerKey = state . eipNodeConfigs [ node . id ] . routerKey
640
640
const routerKeyAttrs =
641
- eipComponent . role === "router " && routerKey
641
+ eipComponent . connectionType === "content_based_router " && routerKey
642
642
? getRouterKeyAttributes ( node . data . eipId , routerKey )
643
643
: { }
644
644
You can’t perform that action at this time.
0 commit comments