Skip to content

Commit

Permalink
Merge pull request #4719 from Countly/onboarding-redirect
Browse files Browse the repository at this point in the history
[onboarding] [SER-745] Use hard redirection for newsletter page
  • Loading branch information
kanwarujjaval authored Nov 20, 2023
2 parents dafdc97 + 28682fc commit 7da5489
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,8 @@
}

// go home
app.navigate('#/', true);
window.location.href = '#/home';
window.location.reload();
},
}
});
Expand Down Expand Up @@ -409,7 +410,8 @@

app.route('/not-subscribed-newsletter', 'not-subscribed-newsletter', function() {
if (!hasNewsLetter) {
app.navigate("/", true);
window.location.href = '#/home';
window.location.reload();
}
else {
this.renderWhenReady(new CV.views.BackboneWrapper({
Expand Down

0 comments on commit 7da5489

Please sign in to comment.