From 90e526e2b980820cd94088f2098417ae5cdda05f Mon Sep 17 00:00:00 2001 From: Shijun Sun <30999793+AllForNothing@users.noreply.github.com> Date: Mon, 21 Aug 2023 18:54:52 +0800 Subject: [PATCH] [Cherry-pick]Add new uri path to ShouldNotReuseRoute array (#19218) Add new uri path to ShouldNotReuseRoute array 1.Fixes #19216 Signed-off-by: AllForNothing --- .../src/app/route-reuse-strategy/harbor-route-reuse-strategy.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/portal/src/app/route-reuse-strategy/harbor-route-reuse-strategy.ts b/src/portal/src/app/route-reuse-strategy/harbor-route-reuse-strategy.ts index 56710c8fb7d..517e7507ae1 100644 --- a/src/portal/src/app/route-reuse-strategy/harbor-route-reuse-strategy.ts +++ b/src/portal/src/app/route-reuse-strategy/harbor-route-reuse-strategy.ts @@ -24,6 +24,7 @@ export enum RouteConfigId { const ShouldNotReuseRouteRegExps: RegExp[] = [ /\/harbor\/projects\/(\d+)\/repositories$/, /\/harbor\/projects\/(\d+)\/repositories\/(\S+)\/artifacts-tab$/, + /\/harbor\/projects\/(\d+)\/repositories\/(\S+)\/artifacts-tab\/depth\/(\S+)$/, ]; function testRoute(url: string) {