diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-04-03 00:22:04 +0200 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2020-04-03 00:22:06 +0200 |
commit | c9ff8a08a06ef0f30ec4963aebfcc02293ca20c5 (patch) | |
tree | dc2899aff59d56b40dac81fabd90d863b1586331 /client/src/app/videos/+video-edit/video-add.module.ts | |
parent | b515c98c6b674ee5632f3f76ad4fe00e147d995e (diff) | |
download | PeerTube-c9ff8a08a06ef0f30ec4963aebfcc02293ca20c5.tar.gz PeerTube-c9ff8a08a06ef0f30ec4963aebfcc02293ca20c5.tar.zst PeerTube-c9ff8a08a06ef0f30ec4963aebfcc02293ca20c5.zip |
Support drag and drop for video upload and torrent file import
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 | 7 |
1 files changed, 5 insertions, 2 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 911404bad..b8f5a9a47 100644 --- a/client/src/app/videos/+video-edit/video-add.module.ts +++ b/client/src/app/videos/+video-edit/video-add.module.ts | |||
@@ -3,6 +3,7 @@ import { SharedModule } from '../../shared' | |||
3 | import { VideoEditModule } from './shared/video-edit.module' | 3 | import { VideoEditModule } from './shared/video-edit.module' |
4 | import { VideoAddRoutingModule } from './video-add-routing.module' | 4 | import { VideoAddRoutingModule } from './video-add-routing.module' |
5 | import { VideoAddComponent } from './video-add.component' | 5 | import { VideoAddComponent } from './video-add.component' |
6 | import { DragDropDirective } from './video-add-components/drag-drop.directive' | ||
6 | import { CanDeactivateGuard } from '../../shared/guards/can-deactivate-guard.service' | 7 | import { CanDeactivateGuard } from '../../shared/guards/can-deactivate-guard.service' |
7 | import { VideoUploadComponent } from '@app/videos/+video-edit/video-add-components/video-upload.component' | 8 | import { VideoUploadComponent } from '@app/videos/+video-edit/video-add-components/video-upload.component' |
8 | import { VideoImportUrlComponent } from '@app/videos/+video-edit/video-add-components/video-import-url.component' | 9 | import { VideoImportUrlComponent } from '@app/videos/+video-edit/video-add-components/video-import-url.component' |
@@ -18,10 +19,12 @@ import { VideoImportTorrentComponent } from '@app/videos/+video-edit/video-add-c | |||
18 | VideoAddComponent, | 19 | VideoAddComponent, |
19 | VideoUploadComponent, | 20 | VideoUploadComponent, |
20 | VideoImportUrlComponent, | 21 | VideoImportUrlComponent, |
21 | VideoImportTorrentComponent | 22 | VideoImportTorrentComponent, |
23 | DragDropDirective | ||
22 | ], | 24 | ], |
23 | exports: [ | 25 | exports: [ |
24 | VideoAddComponent | 26 | VideoAddComponent, |
27 | DragDropDirective | ||
25 | ], | 28 | ], |
26 | providers: [ | 29 | providers: [ |
27 | CanDeactivateGuard | 30 | CanDeactivateGuard |