mirror of
https://github.com/goharbor/harbor.git
synced 2025-02-09 00:12:03 +01:00
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:
parent
0422721490
commit
3deef8a7d4
@ -381,10 +381,8 @@ export class ArtifactListTabComponent implements OnInit, OnDestroy {
|
|||||||
let listArtifactParams: NewArtifactService.ListArtifactsParams = {
|
let listArtifactParams: NewArtifactService.ListArtifactsParams = {
|
||||||
projectName: this.projectName,
|
projectName: this.projectName,
|
||||||
repositoryName: this.repoName,
|
repositoryName: this.repoName,
|
||||||
withImmutableStatus: true,
|
|
||||||
withLabel: true,
|
withLabel: true,
|
||||||
withScanOverview: true,
|
withScanOverview: true,
|
||||||
withSignature: true,
|
|
||||||
withTag: true
|
withTag: true
|
||||||
};
|
};
|
||||||
Object.assign(listArtifactParams, params);
|
Object.assign(listArtifactParams, params);
|
||||||
|
Loading…
Reference in New Issue
Block a user