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:
Rafael Taranto 2024-11-29 13:43:49 +00:00 committed by GitHub
commit 56e7a26894

View file

@ -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"