Replace old advanced tab with the new one
This commit is contained in:
committed by
Veljko V
parent
540bdba941
commit
d6ac430a0e
@@ -62,6 +62,9 @@ if (jQuery('#mailpoet_settings').length > 0) {
|
||||
if (tab === 'signup') {
|
||||
window.location.href = '?page=mailpoet-new-settings#/signup';
|
||||
}
|
||||
if (tab === 'advanced') {
|
||||
window.location.href = '?page=mailpoet-new-settings#/advanced';
|
||||
}
|
||||
// reset all active tabs
|
||||
jQuery('.nav-tab-wrapper a').removeClass('nav-tab-active');
|
||||
|
||||
|
@@ -41,13 +41,13 @@ export default () => {
|
||||
{t('wooCommerceTab')}
|
||||
</TabLink>
|
||||
)}
|
||||
<a
|
||||
className="nav-tab"
|
||||
href="?page=mailpoet-settings#advanced"
|
||||
data-automation-id="settings-advanced-tab"
|
||||
<TabLink
|
||||
name="advanced"
|
||||
current={current}
|
||||
automationId="settings-advanced-tab"
|
||||
>
|
||||
{t('advancedTab')}
|
||||
</a>
|
||||
</TabLink>
|
||||
<TabLink
|
||||
name="premium"
|
||||
current={current}
|
||||
|
Reference in New Issue
Block a user