-import { Component, OnInit, ViewContainerRef } from '@angular/core';
-import { Router } from '@angular/router';
+import { Component, OnInit, ViewContainerRef } from '@angular/core'
+import { Router } from '@angular/router'
-import { AuthService, ConfigService } from './core';
-import { VideoService } from './videos';
-import { UserService } from './shared';
+import { AuthService, ConfigService } from './core'
+import { VideoService } from './videos'
+import { UserService } from './shared'
preventDuplicates: false,
preventLastDuplicates: 'visible',
rtl: false
preventDuplicates: false,
preventLastDuplicates: 'visible',
rtl: false
private router: Router,
private authService: AuthService,
private configService: ConfigService,
private userService: UserService,
private router: Router,
private authService: AuthService,
private configService: ConfigService,
private userService: UserService,
if (this.authService.isLoggedIn()) {
// The service will automatically redirect to the login page if the token is not valid anymore
if (this.authService.isLoggedIn()) {
// The service will automatically redirect to the login page if the token is not valid anymore
- this.configService.loadConfig();
- this.videoService.loadVideoCategories();
- this.videoService.loadVideoLicences();
- this.videoService.loadVideoLanguages();
+ this.configService.loadConfig()
+ this.videoService.loadVideoCategories()
+ this.videoService.loadVideoLicences()
+ this.videoService.loadVideoLanguages()
- const classes = [ 'main-col' ];
- Object.keys(colSizes).forEach(col => classes.push(`col-${col}-${colSizes[col]}`));
+ const classes = [ 'main-col' ]
+ Object.keys(colSizes).forEach(col => classes.push(`col-${col}-${colSizes[col]}`))