From d69572d51ab8fa92cac2b4ca2b8e5739de48e0b4 Mon Sep 17 00:00:00 2001 From: Shijun Sun <30999793+AllForNothing@users.noreply.github.com> Date: Mon, 21 Aug 2023 18:55:06 +0800 Subject: [PATCH] [Cherry-pick]Add new uri path to ShouldNotReuseRoute array (#19220) 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 441112aced7..4467ab5c042 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 @@ -23,6 +23,7 @@ const ShouldNotReuseRouteRegExps: RegExp[] = [ /\/harbor\/projects\/(\d+)\/repositories$/, /\/harbor\/projects\/(\d+)\/repositories\/(\S+)\/artifacts-tab$/, /\/harbor\/projects\/(\d+)\/helm-charts\/(\S+)\/versions\/(\S+)/, + /\/harbor\/projects\/(\d+)\/repositories\/(\S+)\/artifacts-tab\/depth\/(\S+)$/, ]; function testRoute(url: string) {