Redirect to the new key activation tab
[MAILPOET-2681]
This commit is contained in:
committed by
Veljko V
parent
8dc3e99606
commit
b45febac63
@@ -56,6 +56,9 @@ if (jQuery('#mailpoet_settings').length > 0) {
|
||||
window.location.href = '?page=mailpoet-new-settings#/woocommerce';
|
||||
}
|
||||
}
|
||||
if (tab === 'premium') {
|
||||
window.location.href = '?page=mailpoet-new-settings#/premium';
|
||||
}
|
||||
// reset all active tabs
|
||||
jQuery('.nav-tab-wrapper a').removeClass('nav-tab-active');
|
||||
|
||||
|
@@ -48,13 +48,13 @@ export default () => {
|
||||
>
|
||||
{t('advancedTab')}
|
||||
</a>
|
||||
<a
|
||||
className="nav-tab"
|
||||
href="?page=mailpoet-settings#premium"
|
||||
data-automation-id="activation_settings_tab"
|
||||
<TabLink
|
||||
name="premium"
|
||||
current={current}
|
||||
automationId="activation_settings_tab"
|
||||
>
|
||||
{t('keyActivationTab')}
|
||||
</a>
|
||||
</TabLink>
|
||||
</h2>
|
||||
);
|
||||
};
|
||||
|
Reference in New Issue
Block a user