Fix - subject line is not shown when send configuration is not selected

This commit is contained in:
Tomas Bures 2019-06-25 12:17:30 +02:00
parent 30b361290b
commit a9039e5760

View file

@ -631,8 +631,6 @@ export default class CUD extends Component {
addOverridable('from_name', t('fromName'));
addOverridable('from_email', t('fromEmailAddress'));
addOverridable('reply_to', t('replytoEmailAddress'));
sendSettings.push(<InputField label={t('subjectLine')} key="subject" id="subject"/>);
} else {
sendSettings = <AlignedRow>{t('loadingSendConfiguration')}</AlignedRow>
}
@ -747,6 +745,8 @@ export default class CUD extends Component {
{sendSettings}
<InputField label={t('subjectLine')} key="subject" id="subject"/>
<InputField id="unsubscribe_url" label={t('customUnsubscribeUrl')}/>
</Fieldset>