Skip to content

Commit

Permalink
Protect: Disable ignore button when fixer in progress (#38898)
Browse files Browse the repository at this point in the history
  • Loading branch information
dkmyta authored Aug 18, 2024
1 parent 253699d commit 93c4a46
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: fixed

Disables the unignore threats button when a fixer is in progress
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ const ThreatAccordionItem = ( {
isDestructive={ true }
variant="secondary"
onClick={ handleIgnoreThreatClick() }
disabled={ fixerInProgress }
>
{ __( 'Ignore threat', 'jetpack-protect' ) }
</Button>
Expand Down

0 comments on commit 93c4a46

Please sign in to comment.