mirror of
https://github.com/goharbor/harbor
synced 2025-04-20 20:28:55 +00:00
Update the parameter to search cosign (#18963)
1.Fixes #18960 Signed-off-by: AllForNothing <sshijun@vmware.com>
This commit is contained in:
parent
9091661539
commit
b380b7869b
|
@ -944,16 +944,19 @@ export class ArtifactListTabComponent implements OnInit, OnDestroy {
|
|||
page: 1,
|
||||
pageSize: ACCESSORY_PAGE_SIZE,
|
||||
};
|
||||
listTagParams.q = encodeURIComponent(
|
||||
`type=${AccessoryType.COSIGN}`
|
||||
);
|
||||
const cosignParam = listTagParams;
|
||||
listTagParams.q = encodeURIComponent(
|
||||
`type=${AccessoryType.NOTATION}`
|
||||
);
|
||||
forkJoin([
|
||||
this.newArtifactService.listAccessories(cosignParam),
|
||||
this.newArtifactService.listAccessories(listTagParams),
|
||||
this.newArtifactService.listAccessories({
|
||||
...listTagParams,
|
||||
q: encodeURIComponent(
|
||||
`type=${AccessoryType.COSIGN}`
|
||||
),
|
||||
}),
|
||||
this.newArtifactService.listAccessories({
|
||||
...listTagParams,
|
||||
q: encodeURIComponent(
|
||||
`type=${AccessoryType.NOTATION}`
|
||||
),
|
||||
}),
|
||||
]).subscribe({
|
||||
next: res => {
|
||||
if (
|
||||
|
|
Loading…
Reference in New Issue
Block a user