diff options
Diffstat (limited to 'client/src/app/menu/avatar-notification.component.ts')
-rw-r--r-- | client/src/app/menu/avatar-notification.component.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/src/app/menu/avatar-notification.component.ts b/client/src/app/menu/avatar-notification.component.ts index 38dbb935b..680129a48 100644 --- a/client/src/app/menu/avatar-notification.component.ts +++ b/client/src/app/menu/avatar-notification.component.ts | |||
@@ -63,6 +63,10 @@ export class AvatarNotificationComponent implements OnInit, OnDestroy { | |||
63 | this.loaded = true | 63 | this.loaded = true |
64 | } | 64 | } |
65 | 65 | ||
66 | markAllAsRead () { | ||
67 | this.userNotificationService.markAllAsRead() | ||
68 | } | ||
69 | |||
66 | private async subscribeToNotifications () { | 70 | private async subscribeToNotifications () { |
67 | const obs = await this.userNotificationSocket.getMyNotificationsSocket() | 71 | const obs = await this.userNotificationSocket.getMyNotificationsSocket() |
68 | 72 | ||