mirror of
https://github.com/ansible/awx.git
synced 2026-05-19 14:57:39 -02:30
making pendo bootstrapping more explicit
bootstrap if state is anonymous/detailed (was previously set to !off)
This commit is contained in:
@@ -99,7 +99,7 @@ export default
|
|||||||
promise.then(function (response) {
|
promise.then(function (response) {
|
||||||
config = response.license_info;
|
config = response.license_info;
|
||||||
config.analytics_status = response.analytics_status;
|
config.analytics_status = response.analytics_status;
|
||||||
if(config.analytics_status !== 'off'){
|
if(config.analytics_status === 'detailed' || config.analytics_status === 'anonymous'){
|
||||||
$pendolytics.bootstrap();
|
$pendolytics.bootstrap();
|
||||||
deferred.resolve(config);
|
deferred.resolve(config);
|
||||||
}
|
}
|
||||||
@@ -115,7 +115,7 @@ export default
|
|||||||
deferred.reject('Could not resolve pendo config.');
|
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();
|
$pendolytics.bootstrap();
|
||||||
deferred.resolve(config);
|
deferred.resolve(config);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user