Redirect to new settings
[MAILPOET-2679]
This commit is contained in:
committed by
Veljko V
parent
b33181d433
commit
0a8988191c
@@ -27,8 +27,7 @@ if (jQuery('#mailpoet_settings').length > 0) {
|
||||
jQuery('.mailpoet_settings_submit').hide();
|
||||
|
||||
if (group === null) {
|
||||
// show sending methods
|
||||
jQuery('.mailpoet_sending_methods, .mailpoet_sending_methods_help').fadeIn();
|
||||
window.location.href = '?page=mailpoet-new-settings#/mta';
|
||||
} else {
|
||||
// toggle SPF (hidden if the sending method is MailPoet)
|
||||
jQuery('#mailpoet_mta_spf')[
|
||||
|
@@ -25,13 +25,13 @@ export default () => {
|
||||
>
|
||||
{t('signupConfirmationTab')}
|
||||
</TabLink>
|
||||
<a
|
||||
className="nav-tab"
|
||||
href="?page=mailpoet-settings#mta"
|
||||
data-automation-id="send_with_settings_tab"
|
||||
<TabLink
|
||||
name="mta"
|
||||
current={current}
|
||||
automationId="send_with_settings_tab"
|
||||
>
|
||||
{t('sendWithTab')}
|
||||
</a>
|
||||
</TabLink>
|
||||
{hasWooCommerce && (
|
||||
<TabLink
|
||||
name="woocommerce"
|
||||
|
Reference in New Issue
Block a user