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.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/client/src/app/app.component.ts b/client/src/app/app.component.ts
index 4e33fae52..3c06b320e 100644
--- a/client/src/app/app.component.ts
+++ b/client/src/app/app.component.ts
@@ -1,7 +1,7 @@
1import { Component, OnInit, ViewContainerRef } from '@angular/core'; 1import { Component, OnInit, ViewContainerRef } from '@angular/core';
2import { Router } from '@angular/router'; 2import { Router } from '@angular/router';
3 3
4import { AuthService } from './core'; 4import { AuthService, ConfigService } from './core';
5import { VideoService } from './videos'; 5import { VideoService } from './videos';
6import { UserService } from './shared'; 6import { UserService } from './shared';
7 7
@@ -27,6 +27,7 @@ export class AppComponent implements OnInit {
27 constructor( 27 constructor(
28 private router: Router, 28 private router: Router,
29 private authService: AuthService, 29 private authService: AuthService,
30 private configService: ConfigService,
30 private userService: UserService, 31 private userService: UserService,
31 private videoService: VideoService, 32 private videoService: VideoService,
32 viewContainerRef: ViewContainerRef 33 viewContainerRef: ViewContainerRef
@@ -38,6 +39,7 @@ export class AppComponent implements OnInit {
38 this.userService.checkTokenValidity(); 39 this.userService.checkTokenValidity();
39 } 40 }
40 41
42 this.configService.loadConfig();
41 this.videoService.loadVideoCategories(); 43 this.videoService.loadVideoCategories();
42 this.videoService.loadVideoLicences(); 44 this.videoService.loadVideoLicences();
43 } 45 }