aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/videos.component.ts
blob: 26d9d28d403ff6df99eff7fa4228719300921117 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { Component, OnInit } from '@angular/core'

import { VideoService } from './shared'

@Component({
  template: '<router-outlet></router-outlet>'
})
export class VideosComponent implements OnInit {
  constructor(private videoService: VideoService) {}

  ngOnInit () {
    this.videoService.loadVideoCategories()
    this.videoService.loadVideoLicences()
    this.videoService.loadVideoLanguages()
  }
}