From e1db9f0843ae298522a4061aeae6025f8d6a9cf2 Mon Sep 17 00:00:00 2001 From: Franzi321 <71708325+Franzi321@users.noreply.github.com> Date: Tue, 13 Sep 2022 13:47:11 +0200 Subject: [PATCH] TSK-1956: Meldung bei Owner: Access ID is not valid (#2002) --- .../app/shared/components/type-ahead/type-ahead.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/app/shared/components/type-ahead/type-ahead.component.ts b/web/src/app/shared/components/type-ahead/type-ahead.component.ts index 7062e797e..f3dcdae2c 100644 --- a/web/src/app/shared/components/type-ahead/type-ahead.component.ts +++ b/web/src/app/shared/components/type-ahead/type-ahead.component.ts @@ -86,7 +86,7 @@ export class TypeAheadComponent implements OnInit, OnDestroy { .pipe(take(1)) .subscribe((accessIds) => { this.filteredAccessIds = accessIds; - const accessId = accessIds.find((accessId) => accessId.accessId === value); + const accessId = accessIds.find((accessId) => accessId.accessId.toLowerCase() === value.toLowerCase()); if (typeof accessId !== 'undefined') { this.name = accessId?.name;