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 <wangyan@vmware.com>
This commit is contained in:
wang yan 2020-03-18 18:53:29 +08:00
parent 0422721490
commit 3deef8a7d4

View File

@ -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);