1 import { Component, ViewChild } from '@angular/core'
2 import { UserNotificationsComponent } from '@app/shared'
5 templateUrl: './my-account-notifications.component.html',
6 styleUrls: [ './my-account-notifications.component.scss' ]
8 export class MyAccountNotificationsComponent {
9 @ViewChild('userNotification') userNotification: UserNotificationsComponent
12 this.userNotification.markAllAsRead()