diff --git a/src/app/routes/my-profile/my-profile.component.html b/src/app/routes/my-profile/my-profile.component.html index 9f8d667..a87e18b 100644 --- a/src/app/routes/my-profile/my-profile.component.html +++ b/src/app/routes/my-profile/my-profile.component.html @@ -78,8 +78,12 @@ {{ user()!.username }} } diff --git a/src/app/shared/components/nav-bar/nav-bar.component.html b/src/app/shared/components/nav-bar/nav-bar.component.html index edfe991..65c720a 100644 --- a/src/app/shared/components/nav-bar/nav-bar.component.html +++ b/src/app/shared/components/nav-bar/nav-bar.component.html @@ -19,25 +19,29 @@
- @if (isAuthenticated() && isEmailVerified() && user(); as user) { + @if (isAuthenticated() && isEmailVerified() && user()) { - @if (user.avatar) { + @if (user()!.avatar) { } @else { } diff --git a/src/app/shared/components/user-avatar-form/user-avatar-form.component.html b/src/app/shared/components/user-avatar-form/user-avatar-form.component.html index d5f731e..3efc84b 100644 --- a/src/app/shared/components/user-avatar-form/user-avatar-form.component.html +++ b/src/app/shared/components/user-avatar-form/user-avatar-form.component.html @@ -27,7 +27,9 @@ {{ user!.username }} } diff --git a/src/app/shared/features/search/search.component.html b/src/app/shared/features/search/search.component.html index 4a435e5..85f649b 100644 --- a/src/app/shared/features/search/search.component.html +++ b/src/app/shared/features/search/search.component.html @@ -44,10 +44,10 @@ class="w-full sm:w-auto px-6 sm:px-8 py-3 sm:py-2.5 rounded-full sm:rounded-l-none sm:rounded-r-full bg-purple-600 hover:bg-purple-700 active:bg-purple-800 text-white font-medium text-sm sm:text-base transition-colors disabled:opacity-50 disabled:cursor-not-allowed" > {{ - searchForm.value!.search! === '' ? 'Tout' : 'Rechercher' + searchForm.value!.search! === '' ? 'Explorer' : 'Rechercher' }}