fix: hide replace button if state is pending

This commit is contained in:
josepfo 2023-01-17 18:29:06 +00:00 committed by Rafael
parent a29f3fc13c
commit 2f8d02cd7e

View file

@ -314,7 +314,7 @@ const EditableCard = ({
{editing && (
<div className={classes.editingWrapper}>
<div className={classes.replace}>
{hasImage && (
{hasImage && state !== OVERRIDE_PENDING && (
<ActionButton
color="secondary"
type="button"