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')}
|
||||
</Button>
|
||||
<ToggleControl
|
||||
label={MailPoet.I18n.t('blockMandatory')}
|
||||
checked={localMandatory}
|
||||
onChange={setLocalMandatory}
|
||||
/>
|
||||
<SettingsPreview
|
||||
remove={remove}
|
||||
update={update}
|
||||
@@ -66,11 +71,6 @@ const CustomFieldSettings = ({
|
||||
>
|
||||
{MailPoet.I18n.t('customFieldAddItem')}
|
||||
</Button>
|
||||
<ToggleControl
|
||||
label={MailPoet.I18n.t('blockMandatory')}
|
||||
checked={localMandatory}
|
||||
onChange={setLocalMandatory}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
Reference in New Issue
Block a user