Make the new page accessible

[MAILPOET-2678]
This commit is contained in:
Amine Ben hammou
2020-03-17 15:24:56 +01:00
committed by Veljko V
parent 4d12bba87f
commit a6df9a6ce3
3 changed files with 9 additions and 6 deletions

View File

@@ -59,6 +59,9 @@ if (jQuery('#mailpoet_settings').length > 0) {
if (tab === 'premium') {
window.location.href = '?page=mailpoet-new-settings#/premium';
}
if (tab === 'signup') {
window.location.href = '?page=mailpoet-new-settings#/signup';
}
// reset all active tabs
jQuery('.nav-tab-wrapper a').removeClass('nav-tab-active');

View File

@@ -18,13 +18,13 @@ export default () => {
>
{t('basicsTab')}
</TabLink>
<a
className="nav-tab"
href="?page=mailpoet-settings#signup"
data-automation-id="signup_settings_tab"
<TabLink
name="signup"
current={current}
automationId="signup_settings_tab"
>
{t('signupConfirmationTab')}
</a>
</TabLink>
<a
className="nav-tab"
href="?page=mailpoet-settings#mta"