X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fvideos%2F%2Bvideo-edit%2Fvideo-add.module.ts;h=870f7cb97cb74f30e15eac8a6d2bd45da62190be;hb=2de7f588eb7185525cc8687872fed443a24fd27b;hp=f58d12dac6e09fea977917024ad53b04d1a52190;hpb=80958c78fdc733c02077a9d2200be0c3f5ee623e;p=github%2FChocobozzz%2FPeerTube.git 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 f58d12dac..870f7cb97 100644 --- a/client/src/app/videos/+video-edit/video-add.module.ts +++ b/client/src/app/videos/+video-edit/video-add.module.ts @@ -3,22 +3,30 @@ import { SharedModule } from '../../shared' import { VideoEditModule } from './shared/video-edit.module' import { VideoAddRoutingModule } from './video-add-routing.module' import { VideoAddComponent } from './video-add.component' +import { CanDeactivateGuard } from '../../shared/guards/can-deactivate-guard.service' +import { VideoUploadComponent } from '@app/videos/+video-edit/video-add-components/video-upload.component' +import { VideoImportUrlComponent } from '@app/videos/+video-edit/video-add-components/video-import-url.component' +import { VideoImportTorrentComponent } from '@app/videos/+video-edit/video-add-components/video-import-torrent.component' +import { ProgressBarModule } from 'primeng/progressbar' @NgModule({ imports: [ VideoAddRoutingModule, VideoEditModule, - SharedModule + SharedModule, + ProgressBarModule ], - declarations: [ - VideoAddComponent + VideoAddComponent, + VideoUploadComponent, + VideoImportUrlComponent, + VideoImportTorrentComponent ], - exports: [ VideoAddComponent ], - - providers: [ ] + providers: [ + CanDeactivateGuard + ] }) export class VideoAddModule { }