From 4add1887f7a3e376ab77c1c25be5f530d81a140c Mon Sep 17 00:00:00 2001 From: Tom Szendrey Date: Mon, 28 Oct 2024 14:35:48 -0400 Subject: [PATCH] do not compare casing --- packages/client/hmi-client/src/services/concept.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/hmi-client/src/services/concept.ts b/packages/client/hmi-client/src/services/concept.ts index 22d7aab9cf..77d924bcd0 100644 --- a/packages/client/hmi-client/src/services/concept.ts +++ b/packages/client/hmi-client/src/services/concept.ts @@ -213,7 +213,7 @@ const autoEntityMapping = async (sourceEntities: Entity[], targetEntities: Entit targetEntities.forEach((target) => { if ( !distinctSources.includes(source.id) && - (target.id.startsWith(source.id) || source.id.startsWith(target.id)) + (target.id.startsWith(source.id.toLocaleLowerCase()) || source.id.startsWith(target.id.toLocaleLowerCase())) ) { result.push({ source: source.id, target: target.id }); }