From 4f926722ea6784ea389013378fd233f59077ec8a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 19 Nov 2020 11:12:01 +0100 Subject: Upgrade client dependencies Migrate removed primeng theme to custom CSS --- client/src/app/+my-library/my-history/my-history.component.html | 2 +- client/src/app/+my-library/my-history/my-history.component.ts | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'client/src/app/+my-library/my-history') diff --git a/client/src/app/+my-library/my-history/my-history.component.html b/client/src/app/+my-library/my-history/my-history.component.html index cff46a41d..05e016e55 100644 --- a/client/src/app/+my-library/my-history/my-history.component.html +++ b/client/src/app/+my-library/my-history/my-history.component.html @@ -5,7 +5,7 @@
- +
diff --git a/client/src/app/+my-library/my-history/my-history.component.ts b/client/src/app/+my-library/my-history/my-history.component.ts index e11f05c47..4ba95124d 100644 --- a/client/src/app/+my-library/my-history/my-history.component.ts +++ b/client/src/app/+my-library/my-history/my-history.component.ts @@ -47,7 +47,11 @@ export class MyHistoryComponent extends AbstractVideoList implements OnInit, OnD ngOnInit () { super.ngOnInit() - this.videosHistoryEnabled = this.authService.getUser().videosHistoryEnabled + this.authService.userInformationLoaded + .subscribe(() => { + this.videosHistoryEnabled = this.authService.getUser().videosHistoryEnabled + }) + } ngOnDestroy () { -- cgit v1.2.3