Fix duplicate labels issue (#16527)

Signed-off-by: AllForNothing <sshijun@vmware.com>
This commit is contained in:
孙世军 2022-03-16 16:07:29 +08:00 committed by GitHub
parent 1a9de7510c
commit 4cec345a45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,