Skip to content

Commit

Permalink
use an icon for "mark all" notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
DenysVuika committed Sep 11, 2023
1 parent a1b39fb commit 42f28de
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@
(click)="$event.stopPropagation()">
<div mat-subheader role="menuitem">
<span>{{ 'NOTIFICATIONS.TITLE' | translate }}</span>
<button (click)="markAsRead()"
<button *ngIf="notifications.length"
id="adf-notification-history-mark-as-read"
mat-button
color="accent"
*ngIf="notifications.length">
{{ 'NOTIFICATIONS.MARK_AS_READ' | translate }}
mat-icon-button
title="{{ 'NOTIFICATIONS.MARK_AS_READ' | translate }}"
(click)="markAsRead()">
<mat-icon>done_all</mat-icon>
</button>
</div>

Expand Down

0 comments on commit 42f28de

Please sign in to comment.