aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+video-studio/edit
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/+video-studio/edit')
-rw-r--r--client/src/app/+video-studio/edit/index.ts1
-rw-r--r--client/src/app/+video-studio/edit/video-studio-edit.resolver.ts18
2 files changed, 0 insertions, 19 deletions
diff --git a/client/src/app/+video-studio/edit/index.ts b/client/src/app/+video-studio/edit/index.ts
index ff1d77fc0..15b57e1c8 100644
--- a/client/src/app/+video-studio/edit/index.ts
+++ b/client/src/app/+video-studio/edit/index.ts
@@ -1,2 +1 @@
1export * from './video-studio-edit.component' export * from './video-studio-edit.component'
2export * from './video-studio-edit.resolver'
diff --git a/client/src/app/+video-studio/edit/video-studio-edit.resolver.ts b/client/src/app/+video-studio/edit/video-studio-edit.resolver.ts
deleted file mode 100644
index c658be50b..000000000
--- a/client/src/app/+video-studio/edit/video-studio-edit.resolver.ts
+++ /dev/null
@@ -1,18 +0,0 @@
1
2import { Injectable } from '@angular/core'
3import { ActivatedRouteSnapshot, Resolve } from '@angular/router'
4import { VideoService } from '@app/shared/shared-main'
5
6@Injectable()
7export class VideoStudioEditResolver implements Resolve<any> {
8 constructor (
9 private videoService: VideoService
10 ) {
11 }
12
13 resolve (route: ActivatedRouteSnapshot) {
14 const videoId: string = route.params['videoId']
15
16 return this.videoService.getVideo({ videoId })
17 }
18}