]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/videos/videos.component.ts
Server: upgrade packages
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / videos.component.ts
CommitLineData
a685e25c
C
1import { Component, OnInit } from '@angular/core'
2
3import { VideoService } from './shared'
0629423c
C
4
5@Component({
ab32b0fc 6 template: '<router-outlet></router-outlet>'
0629423c 7})
a685e25c 8export class VideosComponent implements OnInit {
ec61fb7e 9 constructor (private videoService: VideoService) {}
0629423c 10
a685e25c
C
11 ngOnInit () {
12 this.videoService.loadVideoCategories()
13 this.videoService.loadVideoLicences()
14 this.videoService.loadVideoLanguages()
15 }
0629423c 16}