From e2813f8939637feb742037657e9d56ce7d22e7da Mon Sep 17 00:00:00 2001 From: Florent Gravin Date: Mon, 4 Dec 2023 21:57:01 +0100 Subject: [PATCH] refactor(dashboard): update avatar placeholder to be an Observable --- .../app/dashboard/search-header/search-header.component.html | 2 +- .../src/app/dashboard/search-header/search-header.component.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/metadata-editor/src/app/dashboard/search-header/search-header.component.html b/apps/metadata-editor/src/app/dashboard/search-header/search-header.component.html index 2326ec526b..9b0edbaf48 100644 --- a/apps/metadata-editor/src/app/dashboard/search-header/search-header.component.html +++ b/apps/metadata-editor/src/app/dashboard/search-header/search-header.component.html @@ -20,7 +20,7 @@ diff --git a/apps/metadata-editor/src/app/dashboard/search-header/search-header.component.ts b/apps/metadata-editor/src/app/dashboard/search-header/search-header.component.ts index 7ce966490d..ddc5d3219f 100644 --- a/apps/metadata-editor/src/app/dashboard/search-header/search-header.component.ts +++ b/apps/metadata-editor/src/app/dashboard/search-header/search-header.component.ts @@ -22,7 +22,7 @@ import { PlatformServiceInterface } from '@geonetwork-ui/common/domain/platform. ], }) export class SearchHeaderComponent { - public placeholder = this.avatarService.placeholder + public placeholder$ = this.avatarService.getPlaceholder() constructor( public platformService: PlatformServiceInterface,