diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-10-09 19:12:40 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-10-09 19:12:40 +0200 |
commit | db7af09bd8e9de57cdda88c2e32387551235b3a4 (patch) | |
tree | 8e3cac831be63a2c66e3b6d5e3b22e33492fb726 /client/src/app/videos/videos.component.ts | |
parent | bcd1c9e19447a98d605385fab69b5cfa58d0ba4b (diff) | |
download | PeerTube-db7af09bd8e9de57cdda88c2e32387551235b3a4.tar.gz PeerTube-db7af09bd8e9de57cdda88c2e32387551235b3a4.tar.zst PeerTube-db7af09bd8e9de57cdda88c2e32387551235b3a4.zip |
Client: fix loading server configurations
Diffstat (limited to 'client/src/app/videos/videos.component.ts')
-rw-r--r-- | client/src/app/videos/videos.component.ts | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/client/src/app/videos/videos.component.ts b/client/src/app/videos/videos.component.ts index 80ff46a0a..585a3ad9a 100644 --- a/client/src/app/videos/videos.component.ts +++ b/client/src/app/videos/videos.component.ts | |||
@@ -1,16 +1,6 @@ | |||
1 | import { Component, OnInit } from '@angular/core' | 1 | import { Component } from '@angular/core' |
2 | |||
3 | import { VideoService } from './shared' | ||
4 | 2 | ||
5 | @Component({ | 3 | @Component({ |
6 | template: '<router-outlet></router-outlet>' | 4 | template: '<router-outlet></router-outlet>' |
7 | }) | 5 | }) |
8 | export class VideosComponent implements OnInit { | 6 | export class VideosComponent {} |
9 | constructor (private videoService: VideoService) {} | ||
10 | |||
11 | ngOnInit () { | ||
12 | this.videoService.loadVideoCategories() | ||
13 | this.videoService.loadVideoLicences() | ||
14 | this.videoService.loadVideoLanguages() | ||
15 | } | ||
16 | } | ||