]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/videos/+video-edit/video-add.module.ts
Improve video upload guard a little bit
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / +video-edit / video-add.module.ts
1 import { NgModule } from '@angular/core'
2 import { ProgressBarModule } from 'primeng/primeng'
3 import { SharedModule } from '../../shared'
4 import { VideoEditModule } from './shared/video-edit.module'
5 import { VideoAddRoutingModule } from './video-add-routing.module'
6 import { VideoAddComponent } from './video-add.component'
7 import { CanDeactivateGuard } from '../../shared/guards/can-deactivate-guard.service'
8
9 @NgModule({
10 imports: [
11 VideoAddRoutingModule,
12 VideoEditModule,
13 SharedModule,
14 ProgressBarModule
15 ],
16 declarations: [
17 VideoAddComponent
18 ],
19 exports: [
20 VideoAddComponent
21 ],
22 providers: [
23 CanDeactivateGuard
24 ]
25 })
26 export class VideoAddModule { }