fix: keep the user menu and the bell in the header slot
With two elements in the signed-in branch, neither was projected into the shell's user slot. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -46,8 +46,11 @@ import { NotificationsBell } from '@task-stream/web/tracker/presenters';
|
|||||||
Explorar
|
Explorar
|
||||||
</a>
|
</a>
|
||||||
@if (auth.isAuthenticated()) {
|
@if (auth.isAuthenticated()) {
|
||||||
<ts-notifications-bell shellUser />
|
<!-- One projectable node per @if branch, or neither reaches the slot. -->
|
||||||
<ts-user-menu shellUser />
|
<ng-container shellUser>
|
||||||
|
<ts-notifications-bell />
|
||||||
|
<ts-user-menu />
|
||||||
|
</ng-container>
|
||||||
} @else if (auth.settled() && !onLogin()) {
|
} @else if (auth.settled() && !onLogin()) {
|
||||||
<a shellUser class="ts-nav-link ts-nav-link--cta" routerLink="/login"
|
<a shellUser class="ts-nav-link ts-nav-link--cta" routerLink="/login"
|
||||||
>Iniciar sesión</a
|
>Iniciar sesión</a
|
||||||
|
|||||||
Reference in New Issue
Block a user