diff options
author | Chocobozzz <me@florianbigard.com> | 2020-02-07 10:00:34 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-02-10 16:39:28 +0100 |
commit | 2f5d2ec5ea4fedf2466e1db2d16878b1467b1e05 (patch) | |
tree | d0e4a334a25f19d888f257a71c9a3c8095d04e0b /client/src/app/core/routing/custom-reuse-strategy.ts | |
parent | 6c5bc93a3ab9403a76e38814c16167b5af647c10 (diff) | |
download | PeerTube-2f5d2ec5ea4fedf2466e1db2d16878b1467b1e05.tar.gz PeerTube-2f5d2ec5ea4fedf2466e1db2d16878b1467b1e05.tar.zst PeerTube-2f5d2ec5ea4fedf2466e1db2d16878b1467b1e05.zip |
Update to angular 9
Diffstat (limited to 'client/src/app/core/routing/custom-reuse-strategy.ts')
-rw-r--r-- | client/src/app/core/routing/custom-reuse-strategy.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/app/core/routing/custom-reuse-strategy.ts b/client/src/app/core/routing/custom-reuse-strategy.ts index a9f61acec..cbba82f1f 100644 --- a/client/src/app/core/routing/custom-reuse-strategy.ts +++ b/client/src/app/core/routing/custom-reuse-strategy.ts | |||
@@ -1,5 +1,7 @@ | |||
1 | import { ActivatedRouteSnapshot, DetachedRouteHandle, RouteReuseStrategy } from '@angular/router' | 1 | import { ActivatedRouteSnapshot, DetachedRouteHandle, RouteReuseStrategy } from '@angular/router' |
2 | import { Injectable } from "@angular/core"; | ||
2 | 3 | ||
4 | @Injectable() | ||
3 | export class CustomReuseStrategy implements RouteReuseStrategy { | 5 | export class CustomReuseStrategy implements RouteReuseStrategy { |
4 | storedRouteHandles = new Map<string, DetachedRouteHandle>() | 6 | storedRouteHandles = new Map<string, DetachedRouteHandle>() |
5 | recentlyUsed: string | 7 | recentlyUsed: string |