aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-main/router
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-05-23 11:15:00 +0200
committerChocobozzz <me@florianbigard.com>2023-05-23 11:27:09 +0200
commit52798aa5f277492d4dd2482bca9396d2e982fa19 (patch)
treec3b8057acf3860aacc92743b9d92214ad0364fcb /client/src/app/shared/shared-main/router
parentf89189907bbdff6c4bc6d3460ed9ef4c49515f17 (diff)
downloadPeerTube-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.ts4
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 @@
1import { forkJoin, of } from 'rxjs' 1import { forkJoin, of } from 'rxjs'
2import { catchError, map } from 'rxjs/operators' 2import { catchError, map } from 'rxjs/operators'
3import { Injectable } from '@angular/core' 3import { Injectable } from '@angular/core'
4import { ActivatedRouteSnapshot, CanActivate, Router } from '@angular/router' 4import { ActivatedRouteSnapshot, Router } from '@angular/router'
5import { AccountService } from '../account' 5import { AccountService } from '../account'
6import { VideoChannelService } from '../video-channel' 6import { VideoChannelService } from '../video-channel'
7 7
8@Injectable() 8@Injectable()
9export class ActorRedirectGuard implements CanActivate { 9export class ActorRedirectGuard {
10 10
11 constructor ( 11 constructor (
12 private router: Router, 12 private router: Router,