Skip to content

Commit

Permalink
Fix notification bell persisting when logged out
Browse files Browse the repository at this point in the history
  • Loading branch information
jvyden committed Nov 5, 2023
1 parent 5e35874 commit 47204e6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</a>
</nav>

<fa-icon (click)="toggleNotifications()" [icon]="faBell" class="text-xl flex-shrink ml-auto p-1.5 m-1.5 cursor-pointer"></fa-icon>
<fa-icon (click)="toggleNotifications()" [icon]="faBell" class="text-xl flex-shrink ml-auto p-1.5 m-1.5 cursor-pointer" *ngIf="user"></fa-icon>

<button (click)="toggleMenu()" *ngIf="user" aria-label="More..." class="p-1.5 m-1.5 cursor-pointer">
<user-avatar [user]="user" size="h-11 w-auto" class="ml-4"></user-avatar>
Expand Down
1 change: 0 additions & 1 deletion src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,5 +134,4 @@ export class AppComponent {
protected readonly faExclamationTriangle = faExclamationTriangle;
protected readonly UserRoles = UserRoles;
protected readonly faBell = faBell;
protected readonly undefined = undefined;
}

0 comments on commit 47204e6

Please sign in to comment.