diff options
Diffstat (limited to 'client/src/app/videos/+video-edit/video-add.module.ts')
-rw-r--r-- | client/src/app/videos/+video-edit/video-add.module.ts | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/client/src/app/videos/+video-edit/video-add.module.ts b/client/src/app/videos/+video-edit/video-add.module.ts index b8f5a9a47..477c1cf5e 100644 --- a/client/src/app/videos/+video-edit/video-add.module.ts +++ b/client/src/app/videos/+video-edit/video-add.module.ts | |||
@@ -1,20 +1,20 @@ | |||
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 { VideoEditModule } from './shared/video-edit.module' | 3 | import { VideoEditModule } from './shared/video-edit.module' |
4 | import { DragDropDirective } from './video-add-components/drag-drop.directive' | ||
5 | import { VideoImportTorrentComponent } from './video-add-components/video-import-torrent.component' | ||
6 | import { VideoImportUrlComponent } from './video-add-components/video-import-url.component' | ||
7 | import { VideoUploadComponent } from './video-add-components/video-upload.component' | ||
4 | import { VideoAddRoutingModule } from './video-add-routing.module' | 8 | import { VideoAddRoutingModule } from './video-add-routing.module' |
5 | import { VideoAddComponent } from './video-add.component' | 9 | import { VideoAddComponent } from './video-add.component' |
6 | import { DragDropDirective } from './video-add-components/drag-drop.directive' | ||
7 | import { CanDeactivateGuard } from '../../shared/guards/can-deactivate-guard.service' | ||
8 | import { VideoUploadComponent } from '@app/videos/+video-edit/video-add-components/video-upload.component' | ||
9 | import { VideoImportUrlComponent } from '@app/videos/+video-edit/video-add-components/video-import-url.component' | ||
10 | import { VideoImportTorrentComponent } from '@app/videos/+video-edit/video-add-components/video-import-torrent.component' | ||
11 | 10 | ||
12 | @NgModule({ | 11 | @NgModule({ |
13 | imports: [ | 12 | imports: [ |
14 | VideoAddRoutingModule, | 13 | VideoAddRoutingModule, |
15 | VideoEditModule, | 14 | |
16 | SharedModule | 15 | VideoEditModule |
17 | ], | 16 | ], |
17 | |||
18 | declarations: [ | 18 | declarations: [ |
19 | VideoAddComponent, | 19 | VideoAddComponent, |
20 | VideoUploadComponent, | 20 | VideoUploadComponent, |
@@ -22,10 +22,9 @@ import { VideoImportTorrentComponent } from '@app/videos/+video-edit/video-add-c | |||
22 | VideoImportTorrentComponent, | 22 | VideoImportTorrentComponent, |
23 | DragDropDirective | 23 | DragDropDirective |
24 | ], | 24 | ], |
25 | exports: [ | 25 | |
26 | VideoAddComponent, | 26 | exports: [ ], |
27 | DragDropDirective | 27 | |
28 | ], | ||
29 | providers: [ | 28 | providers: [ |
30 | CanDeactivateGuard | 29 | CanDeactivateGuard |
31 | ] | 30 | ] |