diff options
Diffstat (limited to 'client/src/app/shared/shared-main')
-rw-r--r-- | client/src/app/shared/shared-main/router/actor-redirect-guard.service.ts | 4 | ||||
-rw-r--r-- | client/src/app/shared/shared-main/video/video.resolver.ts | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/client/src/app/shared/shared-main/router/actor-redirect-guard.service.ts b/client/src/app/shared/shared-main/router/actor-redirect-guard.service.ts index ce185829c..53a48f8a1 100644 --- a/client/src/app/shared/shared-main/router/actor-redirect-guard.service.ts +++ b/client/src/app/shared/shared-main/router/actor-redirect-guard.service.ts | |||
@@ -1,12 +1,12 @@ | |||
1 | import { forkJoin, of } from 'rxjs' | 1 | import { forkJoin, of } from 'rxjs' |
2 | import { catchError, map } from 'rxjs/operators' | 2 | import { catchError, map } from 'rxjs/operators' |
3 | import { Injectable } from '@angular/core' | 3 | import { Injectable } from '@angular/core' |
4 | import { ActivatedRouteSnapshot, CanActivate, Router } from '@angular/router' | 4 | import { ActivatedRouteSnapshot, Router } from '@angular/router' |
5 | import { AccountService } from '../account' | 5 | import { AccountService } from '../account' |
6 | import { VideoChannelService } from '../video-channel' | 6 | import { VideoChannelService } from '../video-channel' |
7 | 7 | ||
8 | @Injectable() | 8 | @Injectable() |
9 | export class ActorRedirectGuard implements CanActivate { | 9 | export class ActorRedirectGuard { |
10 | 10 | ||
11 | constructor ( | 11 | constructor ( |
12 | private router: Router, | 12 | private router: Router, |
diff --git a/client/src/app/shared/shared-main/video/video.resolver.ts b/client/src/app/shared/shared-main/video/video.resolver.ts index 65b7230ce..dc07bb5da 100644 --- a/client/src/app/shared/shared-main/video/video.resolver.ts +++ b/client/src/app/shared/shared-main/video/video.resolver.ts | |||
@@ -1,9 +1,9 @@ | |||
1 | import { Injectable } from '@angular/core' | 1 | import { Injectable } from '@angular/core' |
2 | import { ActivatedRouteSnapshot, Resolve } from '@angular/router' | 2 | import { ActivatedRouteSnapshot } from '@angular/router' |
3 | import { VideoService } from './video.service' | 3 | import { VideoService } from './video.service' |
4 | 4 | ||
5 | @Injectable() | 5 | @Injectable() |
6 | export class VideoResolver implements Resolve<any> { | 6 | export class VideoResolver { |
7 | constructor ( | 7 | constructor ( |
8 | private videoService: VideoService | 8 | private videoService: VideoService |
9 | ) { | 9 | ) { |