Merge pull request #1751 from RafaelTaranto/backport/hide-replace-button
LAM-43 fix: hide replace button if state is pending
This commit is contained in:
commit
56e7a26894
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue