diff options
Diffstat (limited to 'client/src/app/videos/videos.component.ts')
-rw-r--r-- | client/src/app/videos/videos.component.ts | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/client/src/app/videos/videos.component.ts b/client/src/app/videos/videos.component.ts index 972c2221f..26d9d28d4 100644 --- a/client/src/app/videos/videos.component.ts +++ b/client/src/app/videos/videos.component.ts | |||
@@ -1,8 +1,16 @@ | |||
1 | import { Component } from '@angular/core' | 1 | import { Component, OnInit } from '@angular/core' |
2 | |||
3 | import { VideoService } from './shared' | ||
2 | 4 | ||
3 | @Component({ | 5 | @Component({ |
4 | template: '<router-outlet></router-outlet>' | 6 | template: '<router-outlet></router-outlet>' |
5 | }) | 7 | }) |
8 | export class VideosComponent implements OnInit { | ||
9 | constructor(private videoService: VideoService) {} | ||
6 | 10 | ||
7 | export class VideosComponent { | 11 | ngOnInit () { |
12 | this.videoService.loadVideoCategories() | ||
13 | this.videoService.loadVideoLicences() | ||
14 | this.videoService.loadVideoLanguages() | ||
15 | } | ||
8 | } | 16 | } |