diff options
author | Chocobozzz <me@florianbigard.com> | 2018-07-25 10:28:43 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-07-25 10:28:43 +0200 |
commit | 772d5642ba617865519ca5e590061adf174866d4 (patch) | |
tree | 27e2f3c9a78a4de67128f005d2bd73a5eecca804 /client/src/app/videos/+video-edit/video-update-routing.module.ts | |
parent | d73c98884ec7f970ed95a01fb2d445d10c53c817 (diff) | |
download | PeerTube-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.ts | 2 |
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' | |||
6 | import { LoginGuard } from '../../core' | 6 | import { LoginGuard } from '../../core' |
7 | import { VideoUpdateComponent } from './video-update.component' | 7 | import { VideoUpdateComponent } from './video-update.component' |
8 | import { VideoUpdateResolver } from '@app/videos/+video-edit/video-update.resolver' | 8 | import { VideoUpdateResolver } from '@app/videos/+video-edit/video-update.resolver' |
9 | import { CanDeactivateGuard } from '@app/shared/guards/can-deactivate-guard.service' | ||
9 | 10 | ||
10 | const videoUpdateRoutes: Routes = [ | 11 | const 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 | } |