From 17fe6703938d9ac716014398850fdb3c17dc1118 Mon Sep 17 00:00:00 2001 From: Jared Tabor Date: Tue, 13 Oct 2015 10:27:58 -0700 Subject: [PATCH] making pendo bootstrapping more explicit bootstrap if state is anonymous/detailed (was previously set to !off) --- .../client/src/login/authenticationServices/pendo.service.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/awx/ui/client/src/login/authenticationServices/pendo.service.js b/awx/ui/client/src/login/authenticationServices/pendo.service.js index a6a5917799..90fbef778a 100644 --- a/awx/ui/client/src/login/authenticationServices/pendo.service.js +++ b/awx/ui/client/src/login/authenticationServices/pendo.service.js @@ -99,7 +99,7 @@ export default promise.then(function (response) { config = response.license_info; config.analytics_status = response.analytics_status; - if(config.analytics_status !== 'off'){ + if(config.analytics_status === 'detailed' || config.analytics_status === 'anonymous'){ $pendolytics.bootstrap(); deferred.resolve(config); } @@ -115,7 +115,7 @@ export default deferred.reject('Could not resolve pendo config.'); }); } - else if(config.analytics_status !== 'off'){ + else if(config.analytics_status === 'detailed' || config.analytics_status === 'anonymous'){ $pendolytics.bootstrap(); deferred.resolve(config); }