From 95340ecd538601fd688a7b2eaac06774e7501dd9 Mon Sep 17 00:00:00 2001 From: wlycdgr Date: Thu, 14 Nov 2019 14:31:29 -0500 Subject: [PATCH] Fix name fields of hub plus promo modal pings --- app/hub/Views/HomeView/HomeViewContainer.jsx | 6 +++--- manifest.json | 4 +++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/app/hub/Views/HomeView/HomeViewContainer.jsx b/app/hub/Views/HomeView/HomeViewContainer.jsx index a69f9c03f..6eccd89b0 100644 --- a/app/hub/Views/HomeView/HomeViewContainer.jsx +++ b/app/hub/Views/HomeView/HomeViewContainer.jsx @@ -71,7 +71,7 @@ class HomeViewContainer extends Component { sendMessage('SET_PLUS_PROMO_MODAL_SEEN', {}); - sendMessage('ping', 'promo_modals_select_basic_hub'); + sendMessage('SEND_PING', 'promo_modals_select_basic_hub'); } /** @@ -85,7 +85,7 @@ class HomeViewContainer extends Component { sendMessage('SET_PLUS_PROMO_MODAL_SEEN', {}); - sendMessage('ping', 'promo_modals_select_plus_hub'); + sendMessage('SEND_PING', 'promo_modals_select_plus_hub'); window.open(`https://checkout.${DOMAIN}.com/plus?utm_source=gbe&utm_campaign=intro_hub`, '_blank'); } @@ -112,7 +112,7 @@ class HomeViewContainer extends Component { const showPromoModal = !isPlus && !plus_promo_modal_shown; if (showPromoModal) { - sendMessage('ping', 'promo_modals_show_plus_choice_hub'); + sendMessage('SEND_PING', 'promo_modals_show_plus_choice_hub'); } return ( diff --git a/manifest.json b/manifest.json index e1049ff13..89c2645fc 100644 --- a/manifest.json +++ b/manifest.json @@ -1,5 +1,7 @@ { "manifest_version": 2, + "debug": true, + "log": true, "applications": { "gecko": { "id": "firefox@ghostery.com", @@ -100,4 +102,4 @@ "app/images/*", "dist/css/rewards_styles.css" ] -} \ No newline at end of file +}