diff options
author | Chocobozzz <me@florianbigard.com> | 2020-06-23 14:10:17 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-06-23 16:00:49 +0200 |
commit | 67ed6552b831df66713bac9e672738796128d33f (patch) | |
tree | 59c97d41e0b49d75a90aa3de987968ab9b1ff447 /client/src/app/videos/+video-edit/video-update.module.ts | |
parent | 0c4bacbff53bc732f5a2677d62a6ead7752e2405 (diff) | |
download | PeerTube-67ed6552b831df66713bac9e672738796128d33f.tar.gz PeerTube-67ed6552b831df66713bac9e672738796128d33f.tar.zst PeerTube-67ed6552b831df66713bac9e672738796128d33f.zip |
Reorganize client shared modules
Diffstat (limited to 'client/src/app/videos/+video-edit/video-update.module.ts')
-rw-r--r-- | client/src/app/videos/+video-edit/video-update.module.ts | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/client/src/app/videos/+video-edit/video-update.module.ts b/client/src/app/videos/+video-edit/video-update.module.ts index d60aa699f..322c69629 100644 --- a/client/src/app/videos/+video-edit/video-update.module.ts +++ b/client/src/app/videos/+video-edit/video-update.module.ts | |||
@@ -1,25 +1,22 @@ | |||
1 | import { NgModule } from '@angular/core' | 1 | import { NgModule } from '@angular/core' |
2 | import { SharedModule } from '../../shared' | 2 | import { CanDeactivateGuard } from '@app/core' |
3 | import { VideoUpdateResolver } from '@app/videos/+video-edit/video-update.resolver' | ||
3 | import { VideoEditModule } from './shared/video-edit.module' | 4 | import { VideoEditModule } from './shared/video-edit.module' |
4 | import { VideoUpdateRoutingModule } from './video-update-routing.module' | 5 | import { VideoUpdateRoutingModule } from './video-update-routing.module' |
5 | import { VideoUpdateComponent } from './video-update.component' | 6 | import { VideoUpdateComponent } from './video-update.component' |
6 | import { VideoUpdateResolver } from '@app/videos/+video-edit/video-update.resolver' | ||
7 | import { CanDeactivateGuard } from '@app/shared/guards/can-deactivate-guard.service' | ||
8 | 7 | ||
9 | @NgModule({ | 8 | @NgModule({ |
10 | imports: [ | 9 | imports: [ |
11 | VideoUpdateRoutingModule, | 10 | VideoUpdateRoutingModule, |
12 | VideoEditModule, | 11 | |
13 | SharedModule | 12 | VideoEditModule |
14 | ], | 13 | ], |
15 | 14 | ||
16 | declarations: [ | 15 | declarations: [ |
17 | VideoUpdateComponent | 16 | VideoUpdateComponent |
18 | ], | 17 | ], |
19 | 18 | ||
20 | exports: [ | 19 | exports: [ ], |
21 | VideoUpdateComponent | ||
22 | ], | ||
23 | 20 | ||
24 | providers: [ | 21 | providers: [ |
25 | VideoUpdateResolver, | 22 | VideoUpdateResolver, |