Skip to content

Commit

Permalink
#25748 Fixing firefox issue
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelrojas committed Feb 15, 2024
1 parent 3bd21f7 commit cf7c57a
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,10 @@ export class DotToolbarAnnouncementsComponent implements OnInit, OnChanges {
});
}

ngOnChanges(): void {
this.announcementsStore.markAnnouncementsAsRead();
ngOnChanges(changes): void {
if (!changes.showUnreadAnnouncement.currentValue) {
this.announcementsStore.markAnnouncementsAsRead();
}
}

typesIcons = {
Expand Down

0 comments on commit cf7c57a

Please sign in to comment.