aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/app.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/app.component.ts')
-rw-r--r--client/src/app/app.component.ts7
1 files changed, 1 insertions, 6 deletions
diff --git a/client/src/app/app.component.ts b/client/src/app/app.component.ts
index ae86bc96f..82e647c98 100644
--- a/client/src/app/app.component.ts
+++ b/client/src/app/app.component.ts
@@ -2,7 +2,6 @@ import { Component, OnInit, ViewContainerRef } from '@angular/core'
2import { Router } from '@angular/router' 2import { Router } from '@angular/router'
3 3
4import { AuthService, ConfigService } from './core' 4import { AuthService, ConfigService } from './core'
5import { VideoService } from './videos'
6import { UserService } from './shared' 5import { UserService } from './shared'
7 6
8@Component({ 7@Component({
@@ -30,8 +29,7 @@ export class AppComponent implements OnInit {
30 private router: Router, 29 private router: Router,
31 private authService: AuthService, 30 private authService: AuthService,
32 private configService: ConfigService, 31 private configService: ConfigService,
33 private userService: UserService, 32 private userService: UserService
34 private videoService: VideoService
35 ) {} 33 ) {}
36 34
37 ngOnInit () { 35 ngOnInit () {
@@ -43,9 +41,6 @@ export class AppComponent implements OnInit {
43 } 41 }
44 42
45 this.configService.loadConfig() 43 this.configService.loadConfig()
46 this.videoService.loadVideoCategories()
47 this.videoService.loadVideoLicences()
48 this.videoService.loadVideoLanguages()
49 44
50 // Do not display menu on small screens 45 // Do not display menu on small screens
51 if (window.innerWidth < 600) { 46 if (window.innerWidth < 600) {