Skip to content

Commit

Permalink
use an icon for "mark all" notifications (#8903)
Browse files Browse the repository at this point in the history
  • Loading branch information
DenysVuika committed Sep 13, 2023
1 parent e14e489 commit d7cf12d
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 d7cf12d

Please sign in to comment.