aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/videos.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/videos/videos.component.ts')
-rw-r--r--client/src/app/videos/videos.component.ts12
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 @@
1import { Component } from '@angular/core' 1import { Component, OnInit } from '@angular/core'
2
3import { VideoService } from './shared'
2 4
3@Component({ 5@Component({
4 template: '<router-outlet></router-outlet>' 6 template: '<router-outlet></router-outlet>'
5}) 7})
8export class VideosComponent implements OnInit {
9 constructor(private videoService: VideoService) {}
6 10
7export class VideosComponent { 11 ngOnInit () {
12 this.videoService.loadVideoCategories()
13 this.videoService.loadVideoLicences()
14 this.videoService.loadVideoLanguages()
15 }
8} 16}