X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fapp.component.ts;h=1724bbd1ac440c99ed28b415e752a69c6849069f;hb=f003ef1b54c3eedcc722e00c6a526f2368dd5885;hp=6b18e5feba9958a68a90e698de25208b30548663;hpb=00aab0666c6f772548c160fdfa871a8843b88f37;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/app.component.ts b/client/src/app/app.component.ts index 6b18e5feb..1724bbd1a 100644 --- a/client/src/app/app.component.ts +++ b/client/src/app/app.component.ts @@ -71,6 +71,9 @@ export class AppComponent implements OnInit { ngOnInit () { document.getElementById('incompatible-browser').className += ' browser-ok' + this.loadPlugins() + this.themeService.initialize() + this.authService.loadClientCredentials() if (this.isUserLoggedIn()) { @@ -86,9 +89,6 @@ export class AppComponent implements OnInit { this.serverService.loadVideoPrivacies() this.serverService.loadVideoPlaylistPrivacies() - this.loadPlugins() - this.themeService.initialize() - // Do not display menu on small screens if (this.screenService.isInSmallView()) { this.isMenuDisplayed = false