From 779e9e5e23aef51480ec27bd3d7398f8afb6374b Mon Sep 17 00:00:00 2001 From: Henry Taeschner Date: Sat, 9 Nov 2024 17:08:22 +0100 Subject: [PATCH] fix: tests --- src/app/theme/theme-detail/theme-detail.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/theme/theme-detail/theme-detail.component.ts b/src/app/theme/theme-detail/theme-detail.component.ts index 0d93429..560bb80 100644 --- a/src/app/theme/theme-detail/theme-detail.component.ts +++ b/src/app/theme/theme-detail/theme-detail.component.ts @@ -62,7 +62,7 @@ export class ThemeDetailComponent implements OnInit, AfterViewInit { this.prepareActionButtons() if (!this.themeName) return this.loading = true - this.theme$ = this.themeApi.getThemeByName({ name: this.themeName! }).pipe( + this.theme$ = this.themeApi.getThemeByName({ name: this.themeName }).pipe( map((data) => { if (data.resource) this.theme = data.resource this.headerImageUrl = this.getImageUrl(this.theme, RefType.Logo)