mirror of
https://github.com/ansible/awx.git
synced 2026-01-24 16:01:20 -03:30
making pendo bootstrapping more explicit
bootstrap if state is anonymous/detailed (was previously set to !off)
This commit is contained in:
parent
80f088b39b
commit
17fe670393
@ -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);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user