mirror of
https://github.com/goharbor/harbor
synced 2025-04-14 10:32:47 +00:00
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;
|
||||
// all selected scan action has stopped
|
||||
if (this.scanStoppedArtifactLength === this.onStopScanArtifactsLength) {
|
||||
this.onSendingScanCommand = e;
|
||||
this.onSendingStopScanCommand = e;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -923,7 +923,7 @@ export class ArtifactListTabComponent implements OnInit, OnDestroy {
|
|||
this.sbomStoppedArtifactLength += 1;
|
||||
// all selected scan action has stopped
|
||||
if (this.sbomStoppedArtifactLength === this.onStopSbomArtifactsLength) {
|
||||
this.onSendingSbomCommand = e;
|
||||
this.onSendingStopSbomCommand = e;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user