From 3deef8a7d4a7c5089bda3c538d295a3af9e4c617 Mon Sep 17 00:00:00 2001 From: wang yan Date: Wed, 18 Mar 2020 18:53:29 +0800 Subject: [PATCH] simplify query string when to list artifac To improve the performance of loading repository page, make the query set thinner. Signed-off-by: wang yan --- .../artifact-list-tab/artifact-list-tab.component.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/portal/src/app/project/repository/artifact-list-page/artifact-list/artifact-list-tab/artifact-list-tab.component.ts b/src/portal/src/app/project/repository/artifact-list-page/artifact-list/artifact-list-tab/artifact-list-tab.component.ts index 03d08042b..a06c0c5ac 100644 --- a/src/portal/src/app/project/repository/artifact-list-page/artifact-list/artifact-list-tab/artifact-list-tab.component.ts +++ b/src/portal/src/app/project/repository/artifact-list-page/artifact-list/artifact-list-tab/artifact-list-tab.component.ts @@ -381,10 +381,8 @@ export class ArtifactListTabComponent implements OnInit, OnDestroy { let listArtifactParams: NewArtifactService.ListArtifactsParams = { projectName: this.projectName, repositoryName: this.repoName, - withImmutableStatus: true, withLabel: true, withScanOverview: true, - withSignature: true, withTag: true }; Object.assign(listArtifactParams, params);