From 444404f7f42004fc3f880852fd1a63c06abaec76 Mon Sep 17 00:00:00 2001 From: Shijun Sun <30999793+AllForNothing@users.noreply.github.com> Date: Mon, 21 Aug 2023 18:54:44 +0800 Subject: [PATCH] Add new uri path to ShouldNotReuseRoute array (#19217) 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 56710c8fb..517e7507a 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) {