X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fvideos%2F%2Bvideo-edit%2Fvideo-update.module.ts;h=d60aa699f8ab0e22da4f4896215e9afa5c4b8c01;hb=2de7f588eb7185525cc8687872fed443a24fd27b;hp=3b45c72a53a925cc6510d65eb280d46690b559dc;hpb=80958c78fdc733c02077a9d2200be0c3f5ee623e;p=github%2FChocobozzz%2FPeerTube.git 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 3b45c72a5..d60aa699f 100644 --- a/client/src/app/videos/+video-edit/video-update.module.ts +++ b/client/src/app/videos/+video-edit/video-update.module.ts @@ -3,6 +3,8 @@ import { SharedModule } from '../../shared' import { VideoEditModule } from './shared/video-edit.module' import { VideoUpdateRoutingModule } from './video-update-routing.module' import { VideoUpdateComponent } from './video-update.component' +import { VideoUpdateResolver } from '@app/videos/+video-edit/video-update.resolver' +import { CanDeactivateGuard } from '@app/shared/guards/can-deactivate-guard.service' @NgModule({ imports: [ @@ -19,6 +21,9 @@ import { VideoUpdateComponent } from './video-update.component' VideoUpdateComponent ], - providers: [ ] + providers: [ + VideoUpdateResolver, + CanDeactivateGuard + ] }) export class VideoUpdateModule { }