From 4cec345a4544400bc8fccc27b5a5e4cc6ec35d58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E4=B8=96=E5=86=9B?= <30999793+AllForNothing@users.noreply.github.com> Date: Wed, 16 Mar 2022 16:07:29 +0800 Subject: [PATCH] Fix duplicate labels issue (#16527) Signed-off-by: AllForNothing --- .../artifact/artifact-list-page/artifact-list-page.service.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/portal/src/app/base/project/repository/artifact/artifact-list-page/artifact-list-page.service.ts b/src/portal/src/app/base/project/repository/artifact/artifact-list-page/artifact-list-page.service.ts index 2d9d74ba8..2da4681b1 100644 --- a/src/portal/src/app/base/project/repository/artifact/artifact-list-page/artifact-list-page.service.ts +++ b/src/portal/src/app/base/project/repository/artifact/artifact-list-page/artifact-list-page.service.ts @@ -80,6 +80,7 @@ export class ArtifactListPageService { private _getAllLabels(projectId: number): void { // get all project labels + this._allLabels = []; // reset this.labelService.ListLabelsResponse({ pageSize: PAGE_SIZE, page: 1,