aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/+video-edit/video-update-routing.module.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-07-25 10:28:43 +0200
committerChocobozzz <me@florianbigard.com>2018-07-25 10:28:43 +0200
commit772d5642ba617865519ca5e590061adf174866d4 (patch)
tree27e2f3c9a78a4de67128f005d2bd73a5eecca804 /client/src/app/videos/+video-edit/video-update-routing.module.ts
parentd73c98884ec7f970ed95a01fb2d445d10c53c817 (diff)
downloadPeerTube-772d5642ba617865519ca5e590061adf174866d4.tar.gz
PeerTube-772d5642ba617865519ca5e590061adf174866d4.tar.zst
PeerTube-772d5642ba617865519ca5e590061adf174866d4.zip
Improve captions UX (at least I've tried)
Diffstat (limited to 'client/src/app/videos/+video-edit/video-update-routing.module.ts')
-rw-r--r--client/src/app/videos/+video-edit/video-update-routing.module.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/app/videos/+video-edit/video-update-routing.module.ts b/client/src/app/videos/+video-edit/video-update-routing.module.ts
index dfeeb8a90..564b8fb45 100644
--- a/client/src/app/videos/+video-edit/video-update-routing.module.ts
+++ b/client/src/app/videos/+video-edit/video-update-routing.module.ts
@@ -6,12 +6,14 @@ import { MetaGuard } from '@ngx-meta/core'
6import { LoginGuard } from '../../core' 6import { LoginGuard } from '../../core'
7import { VideoUpdateComponent } from './video-update.component' 7import { VideoUpdateComponent } from './video-update.component'
8import { VideoUpdateResolver } from '@app/videos/+video-edit/video-update.resolver' 8import { VideoUpdateResolver } from '@app/videos/+video-edit/video-update.resolver'
9import { CanDeactivateGuard } from '@app/shared/guards/can-deactivate-guard.service'
9 10
10const videoUpdateRoutes: Routes = [ 11const videoUpdateRoutes: Routes = [
11 { 12 {
12 path: '', 13 path: '',
13 component: VideoUpdateComponent, 14 component: VideoUpdateComponent,
14 canActivate: [ MetaGuard, LoginGuard ], 15 canActivate: [ MetaGuard, LoginGuard ],
16 canDeactivate: [ CanDeactivateGuard ],
15 resolve: { 17 resolve: {
16 videoData: VideoUpdateResolver 18 videoData: VideoUpdateResolver
17 } 19 }