Skip to content

Commit

Permalink
Automap string comparison should not care for casing (#5312)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom-Szendrey authored Oct 28, 2024
1 parent 6cd6848 commit 24d0fe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/client/hmi-client/src/services/concept.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
}
Expand Down

0 comments on commit 24d0fe5

Please sign in to comment.