Move mandatory field up
[MAILPOET-2592]
This commit is contained in:
committed by
Rostislav Wolný
parent
641d5ac66b
commit
26bf505553
@@ -47,6 +47,11 @@ const CustomFieldSettings = ({
|
|||||||
>
|
>
|
||||||
{MailPoet.I18n.t('customFieldSaveCTA')}
|
{MailPoet.I18n.t('customFieldSaveCTA')}
|
||||||
</Button>
|
</Button>
|
||||||
|
<ToggleControl
|
||||||
|
label={MailPoet.I18n.t('blockMandatory')}
|
||||||
|
checked={localMandatory}
|
||||||
|
onChange={setLocalMandatory}
|
||||||
|
/>
|
||||||
<SettingsPreview
|
<SettingsPreview
|
||||||
remove={remove}
|
remove={remove}
|
||||||
update={update}
|
update={update}
|
||||||
@@ -66,11 +71,6 @@ const CustomFieldSettings = ({
|
|||||||
>
|
>
|
||||||
{MailPoet.I18n.t('customFieldAddItem')}
|
{MailPoet.I18n.t('customFieldAddItem')}
|
||||||
</Button>
|
</Button>
|
||||||
<ToggleControl
|
|
||||||
label={MailPoet.I18n.t('blockMandatory')}
|
|
||||||
checked={localMandatory}
|
|
||||||
onChange={setLocalMandatory}
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user