aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/+my-account/my-account-notifications/my-account-notifications.component.ts
blob: 3e197088dc4211d4829e49e8f96d25fe0e1fb114 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                                             
import { Component, ViewChild } from '@angular/core'
import { UserNotificationsComponent } from '@app/shared'

@Component({
  templateUrl: './my-account-notifications.component.html',
  styleUrls: [ './my-account-notifications.component.scss' ]
})
export class MyAccountNotificationsComponent {
  @ViewChild('userNotification') userNotification: UserNotificationsComponent

  markAllAsRead () {
    this.userNotification.markAllAsRead()
  }
}