Skip to content

Commit

Permalink
Merge pull request #1751 from RafaelTaranto/backport/hide-replace-button
Browse files Browse the repository at this point in the history
LAM-43 fix: hide replace button if state is pending
  • Loading branch information
RafaelTaranto authored Nov 29, 2024
2 parents ebe90e9 + 85c47dd commit c75eccf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ const EditableCard = ({
{editing && (
<div className={classes.editingWrapper}>
<div className={classes.replace}>
{hasImage && (
{hasImage && state !== OVERRIDE_PENDING && (
<ActionButton
color="secondary"
type="button"
Expand Down

0 comments on commit c75eccf

Please sign in to comment.