diff options
Diffstat (limited to 'client/src/app/app.component.ts')
-rw-r--r-- | client/src/app/app.component.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/app.component.ts b/client/src/app/app.component.ts index 984470d69..bef1599fc 100644 --- a/client/src/app/app.component.ts +++ b/client/src/app/app.component.ts | |||
@@ -1,4 +1,4 @@ | |||
1 | import { Component, OnInit, ViewContainerRef } from '@angular/core' | 1 | import { Component, OnInit } from '@angular/core' |
2 | import { Router } from '@angular/router' | 2 | import { Router } from '@angular/router' |
3 | 3 | ||
4 | import { AuthService, ServerService } from './core' | 4 | import { AuthService, ServerService } from './core' |
@@ -28,8 +28,7 @@ export class AppComponent implements OnInit { | |||
28 | constructor ( | 28 | constructor ( |
29 | private router: Router, | 29 | private router: Router, |
30 | private authService: AuthService, | 30 | private authService: AuthService, |
31 | private serverService: ServerService, | 31 | private serverService: ServerService |
32 | private userService: UserService | ||
33 | ) {} | 32 | ) {} |
34 | 33 | ||
35 | ngOnInit () { | 34 | ngOnInit () { |
@@ -45,6 +44,7 @@ export class AppComponent implements OnInit { | |||
45 | this.serverService.loadVideoCategories() | 44 | this.serverService.loadVideoCategories() |
46 | this.serverService.loadVideoLanguages() | 45 | this.serverService.loadVideoLanguages() |
47 | this.serverService.loadVideoLicences() | 46 | this.serverService.loadVideoLicences() |
47 | this.serverService.loadVideoPrivacies() | ||
48 | 48 | ||
49 | // Do not display menu on small screens | 49 | // Do not display menu on small screens |
50 | if (window.innerWidth < 600) { | 50 | if (window.innerWidth < 600) { |