mirror of https://github.com/goharbor/harbor.git
Fixed an issue where the scan stop button can only be clicked once (#20302)
Signed-off-by: xuelichao <xuel@vmware.com>
This commit is contained in:
parent
9c3fc28250
commit
b3dc183f47
|
@ -907,7 +907,7 @@ export class ArtifactListTabComponent implements OnInit, OnDestroy {
|
||||||
this.scanStoppedArtifactLength += 1;
|
this.scanStoppedArtifactLength += 1;
|
||||||
// all selected scan action has stopped
|
// all selected scan action has stopped
|
||||||
if (this.scanStoppedArtifactLength === this.onStopScanArtifactsLength) {
|
if (this.scanStoppedArtifactLength === this.onStopScanArtifactsLength) {
|
||||||
this.onSendingScanCommand = e;
|
this.onSendingStopScanCommand = e;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -923,7 +923,7 @@ export class ArtifactListTabComponent implements OnInit, OnDestroy {
|
||||||
this.sbomStoppedArtifactLength += 1;
|
this.sbomStoppedArtifactLength += 1;
|
||||||
// all selected scan action has stopped
|
// all selected scan action has stopped
|
||||||
if (this.sbomStoppedArtifactLength === this.onStopSbomArtifactsLength) {
|
if (this.sbomStoppedArtifactLength === this.onStopSbomArtifactsLength) {
|
||||||
this.onSendingSbomCommand = e;
|
this.onSendingStopSbomCommand = e;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue