From c531d4c02fb9c53879c827037ef34c9c3541f17e Mon Sep 17 00:00:00 2001 From: Torsten Simon Date: Tue, 22 Oct 2024 11:46:37 +0200 Subject: [PATCH] fix:catch error if global permissions are missing --- .../authority-search-input/authority-search-input.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/Frontend/src/app/shared/components/authority-search-input/authority-search-input.component.ts b/Frontend/src/app/shared/components/authority-search-input/authority-search-input.component.ts index a53d9f8937..fec95d08cb 100644 --- a/Frontend/src/app/shared/components/authority-search-input/authority-search-input.component.ts +++ b/Frontend/src/app/shared/components/authority-search-input/authority-search-input.component.ts @@ -189,6 +189,7 @@ export class AuthoritySearchInputComponent { label: 'WORKSPACE.INVITE_GLOBAL_RESULTS', values: this.convertData(authorities), })), + catchError(() => of({ values: [] } as SuggestionGroup)), ), ); }