From 2f4fd8af70e10b33f16c0c83f15f86561a3f9677 Mon Sep 17 00:00:00 2001 From: Remy Bach Date: Thu, 9 Nov 2017 11:09:31 +0000 Subject: [PATCH] =?UTF-8?q?Update=20to=20latest=20n-desktop-app-banner=20a?= =?UTF-8?q?nd=20remove=20subscriberCohort=20check=20for=20it=20=20?= =?UTF-8?q?=F0=9F=90=BF=20v2.5.16?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bower.json | 2 +- server/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bower.json b/bower.json index 3ad5ee531..13e6cb6a8 100644 --- a/bower.json +++ b/bower.json @@ -34,7 +34,7 @@ "next-session-client": "^2.3.1", "n-counter-ad-blocking": "^3.1.2", "n-topic-search": "^1.0.0", - "n-desktop-app-banner": "^1.0.6" + "n-desktop-app-banner": "^2.0.0" }, "resolutions": { "n-ui-foundations": "^2.4.3" diff --git a/server/index.js b/server/index.js index 5e44bd8c7..6dc9de630 100644 --- a/server/index.js +++ b/server/index.js @@ -73,7 +73,7 @@ module.exports = options => { app.use(function (req, res, next) { app.locals.__disableAndroidBanner = (!res.locals.flags.subscriberCohort || res.locals.flags.disableAndroidSmartBanner); app.locals.__disableIosSmartBanner = (!res.locals.flags.subscriberCohort || res.locals.flags.disableIosSmartBanner); - app.locals.__enableDesktopAppBanner = res.locals.flags.subscriberCohort && res.locals.flags.onboardingMessaging === 'appPromotingBanner'; + app.locals.__enableDesktopAppBanner = res.locals.flags.onboardingMessaging === 'appPromotingBanner'; next(); });