Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH-2264, GH-2309: Choose plan view fixes #700

Merged
merged 5 commits into from Mar 23, 2021

Display correct Choose Plan view subheader based on user type and sea…

…rch selection
  • Loading branch information
wlycdgr committed Mar 23, 2021
commit 4b31b61bfe921d7a96f4f6fa608a50722b1c391f
@@ -174,9 +174,9 @@ class ChoosePlanView extends React.Component {
};

renderSubtitleText = (selectedGhosteryGlow) => {
if (selectedGhosteryGlow) return t('ghostery_dawn_onboarding_based_on_your_privacy_preferences');
if (this.isPremiumUser()) return '';
if (this.isPlusUser()) return t('ghostery_dawn_onboarding_keep_your_current_plan_or_upgrade');
if (selectedGhosteryGlow) return t('ghostery_dawn_onboarding_based_on_your_privacy_preferences');
return t('ghostery_dawn_onboarding_choose_an_option');
};

ProTip! Use n and p to navigate between commits in a pull request.