mirror of
https://github.com/block-core/blockcore-notes.git
synced 2024-09-29 06:20:42 +00:00
Hide the notification badge when notification count equals 0 (#94)
This commit is contained in:
parent
4d0c5572db
commit
cc85c7a8f0
@ -26,7 +26,7 @@
|
||||
<span *ngIf="displayLabels">Feed</span>
|
||||
</a>
|
||||
<a [routerLink]="['/notifications']" mat-menu-item (click)="toggleMenu()" [routerLinkActiveOptions]="{ exact: true }" routerLinkActive="active">
|
||||
<mat-icon [matBadge]="ui.unreadNotifications$ | async">notifications</mat-icon>
|
||||
<mat-icon [matBadgeHidden] = "(ui.unreadNotifications$ | async) == 0" [matBadge]="ui.unreadNotifications$ | async">notifications</mat-icon>
|
||||
<span *ngIf="displayLabels">Notifications</span>
|
||||
</a>
|
||||
<!-- <a [routerLink]="['/chat']" mat-menu-item (click)="toggleMenu()" [routerLinkActiveOptions]="{ exact: true }" routerLinkActive="active">
|
||||
|
Loading…
Reference in New Issue
Block a user