aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/videos.component.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-10-09 14:28:44 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-10-09 14:28:44 +0200
commita685e25ca05f08ad1b3f7fbaccc8744727bd8d27 (patch)
treee50fbc2f260a0017113c4668c3c0f3d2fd76ab87 /client/src/app/videos/videos.component.ts
parent2ed6a0aedc2d2f6b1ac2fd9a1ac137772831f713 (diff)
downloadPeerTube-a685e25ca05f08ad1b3f7fbaccc8744727bd8d27.tar.gz
PeerTube-a685e25ca05f08ad1b3f7fbaccc8744727bd8d27.tar.zst
PeerTube-a685e25ca05f08ad1b3f7fbaccc8744727bd8d27.zip
Try to optimize frontend
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}