From f36da21e40104a50acb00132920b835240cebb38 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 24 Jul 2019 16:05:59 +0200 Subject: Update angular --- .../my-account-notifications/my-account-notifications.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/src/app/+my-account/my-account-notifications') diff --git a/client/src/app/+my-account/my-account-notifications/my-account-notifications.component.ts b/client/src/app/+my-account/my-account-notifications/my-account-notifications.component.ts index 3e197088d..9eca13d0f 100644 --- a/client/src/app/+my-account/my-account-notifications/my-account-notifications.component.ts +++ b/client/src/app/+my-account/my-account-notifications/my-account-notifications.component.ts @@ -6,7 +6,7 @@ import { UserNotificationsComponent } from '@app/shared' styleUrls: [ './my-account-notifications.component.scss' ] }) export class MyAccountNotificationsComponent { - @ViewChild('userNotification') userNotification: UserNotificationsComponent + @ViewChild('userNotification', { static: true }) userNotification: UserNotificationsComponent markAllAsRead () { this.userNotification.markAllAsRead() -- cgit v1.2.3