aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/videos.component.ts
blob: 80ff46a0a18c4128c405d1fe95e1088ab047f51c (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()
  }
}