Skip to content

Commit

Permalink
Fixed an issue where the scan stop button can only be clicked once (g…
Browse files Browse the repository at this point in the history
…oharbor#20302)

Signed-off-by: xuelichao <[email protected]>
  • Loading branch information
xuelichao authored Apr 19, 2024
1 parent 9c3fc28 commit b3dc183
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand All @@ -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;
}
}

Expand Down

0 comments on commit b3dc183

Please sign in to comment.