diff options
author | Chocobozzz <me@florianbigard.com> | 2019-07-24 16:05:59 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-07-25 11:00:43 +0200 |
commit | f36da21e40104a50acb00132920b835240cebb38 (patch) | |
tree | a513f8a31b3538b9bc6d1d52897d6b2fa04b45ba /client/src/app/+my-account/my-account-notifications/my-account-notifications.component.ts | |
parent | a353a4d77c2109f3d2412c54850a6534cf3b0b7f (diff) | |
download | PeerTube-f36da21e40104a50acb00132920b835240cebb38.tar.gz PeerTube-f36da21e40104a50acb00132920b835240cebb38.tar.zst PeerTube-f36da21e40104a50acb00132920b835240cebb38.zip |
Update angular
Diffstat (limited to 'client/src/app/+my-account/my-account-notifications/my-account-notifications.component.ts')
-rw-r--r-- | client/src/app/+my-account/my-account-notifications/my-account-notifications.component.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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' | |||
6 | styleUrls: [ './my-account-notifications.component.scss' ] | 6 | styleUrls: [ './my-account-notifications.component.scss' ] |
7 | }) | 7 | }) |
8 | export class MyAccountNotificationsComponent { | 8 | export class MyAccountNotificationsComponent { |
9 | @ViewChild('userNotification') userNotification: UserNotificationsComponent | 9 | @ViewChild('userNotification', { static: true }) userNotification: UserNotificationsComponent |
10 | 10 | ||
11 | markAllAsRead () { | 11 | markAllAsRead () { |
12 | this.userNotification.markAllAsRead() | 12 | this.userNotification.markAllAsRead() |