diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-07-06 17:43:58 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-07-06 17:43:58 +0200 |
commit | 8b13c289f8db1666a3970882797d42f6cfd6128b (patch) | |
tree | 4e6183936260e01ed5a0cbd366ddc58f76c1a12b /client/src/app/videos | |
parent | 4e1b09735de70dabc5987b8258a01aac8063ae26 (diff) | |
download | PeerTube-8b13c289f8db1666a3970882797d42f6cfd6128b.tar.gz PeerTube-8b13c289f8db1666a3970882797d42f6cfd6128b.tar.zst PeerTube-8b13c289f8db1666a3970882797d42f6cfd6128b.zip |
Fix page titles
Diffstat (limited to 'client/src/app/videos')
-rw-r--r-- | client/src/app/videos/video-watch/video-watch.component.ts | 2 | ||||
-rw-r--r-- | client/src/app/videos/videos-routing.module.ts | 3 | ||||
-rw-r--r-- | client/src/app/videos/videos.module.ts | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/client/src/app/videos/video-watch/video-watch.component.ts b/client/src/app/videos/video-watch/video-watch.component.ts index 1284aa033..12ddf3eef 100644 --- a/client/src/app/videos/video-watch/video-watch.component.ts +++ b/client/src/app/videos/video-watch/video-watch.component.ts | |||
@@ -4,7 +4,7 @@ import { Observable } from 'rxjs/Observable' | |||
4 | import { Subscription } from 'rxjs/Subscription' | 4 | import { Subscription } from 'rxjs/Subscription' |
5 | 5 | ||
6 | import videojs from 'video.js' | 6 | import videojs from 'video.js' |
7 | import { MetaService } from '@nglibs/meta' | 7 | import { MetaService } from '@ngx-meta/core' |
8 | import { NotificationsService } from 'angular2-notifications' | 8 | import { NotificationsService } from 'angular2-notifications' |
9 | 9 | ||
10 | import { AuthService, ConfirmService } from '../../core' | 10 | import { AuthService, ConfirmService } from '../../core' |
diff --git a/client/src/app/videos/videos-routing.module.ts b/client/src/app/videos/videos-routing.module.ts index 7d002abde..e18c1cec0 100644 --- a/client/src/app/videos/videos-routing.module.ts +++ b/client/src/app/videos/videos-routing.module.ts | |||
@@ -1,6 +1,8 @@ | |||
1 | import { NgModule } from '@angular/core' | 1 | import { NgModule } from '@angular/core' |
2 | import { RouterModule, Routes } from '@angular/router' | 2 | import { RouterModule, Routes } from '@angular/router' |
3 | 3 | ||
4 | import { MetaGuard } from '@ngx-meta/core' | ||
5 | |||
4 | import { VideoAddComponent, VideoUpdateComponent } from './video-edit' | 6 | import { VideoAddComponent, VideoUpdateComponent } from './video-edit' |
5 | import { VideoListComponent } from './video-list' | 7 | import { VideoListComponent } from './video-list' |
6 | import { VideosComponent } from './videos.component' | 8 | import { VideosComponent } from './videos.component' |
@@ -10,6 +12,7 @@ const videosRoutes: Routes = [ | |||
10 | { | 12 | { |
11 | path: 'videos', | 13 | path: 'videos', |
12 | component: VideosComponent, | 14 | component: VideosComponent, |
15 | canActivateChild: [ MetaGuard ], | ||
13 | children: [ | 16 | children: [ |
14 | { | 17 | { |
15 | path: 'list', | 18 | path: 'list', |
diff --git a/client/src/app/videos/videos.module.ts b/client/src/app/videos/videos.module.ts index 75a8dd24f..7d2451de7 100644 --- a/client/src/app/videos/videos.module.ts +++ b/client/src/app/videos/videos.module.ts | |||
@@ -1,6 +1,6 @@ | |||
1 | import { NgModule } from '@angular/core' | 1 | import { NgModule } from '@angular/core' |
2 | 2 | ||
3 | import { TagInputModule } from 'ng2-tag-input' | 3 | import { TagInputModule } from 'ngx-chips' |
4 | 4 | ||
5 | import { VideosRoutingModule } from './videos-routing.module' | 5 | import { VideosRoutingModule } from './videos-routing.module' |
6 | import { VideosComponent } from './videos.component' | 6 | import { VideosComponent } from './videos.component' |