diff options
author | Chocobozzz <me@florianbigard.com> | 2023-05-23 11:15:00 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-05-23 11:27:09 +0200 |
commit | 52798aa5f277492d4dd2482bca9396d2e982fa19 (patch) | |
tree | c3b8057acf3860aacc92743b9d92214ad0364fcb /client/src/app/shared/shared-main/router | |
parent | f89189907bbdff6c4bc6d3460ed9ef4c49515f17 (diff) | |
download | PeerTube-52798aa5f277492d4dd2482bca9396d2e982fa19.tar.gz PeerTube-52798aa5f277492d4dd2482bca9396d2e982fa19.tar.zst PeerTube-52798aa5f277492d4dd2482bca9396d2e982fa19.zip |
Update angular
Diffstat (limited to 'client/src/app/shared/shared-main/router')
-rw-r--r-- | client/src/app/shared/shared-main/router/actor-redirect-guard.service.ts | 4 |
1 files changed, 2 insertions, 2 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, |