mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[7.x] [Telemetry] Fix license page crashing on telemetry.enabl… (#54243)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
parent
3f854d78df
commit
8e26f8c22b
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ if (licenseManagementUiEnabled) {
|
|||
};
|
||||
|
||||
const initializeTelemetry = ($injector: any) => {
|
||||
const telemetryEnabled = $injector.get('telemetryEnabled');
|
||||
const telemetryEnabled = npStart.core.injectedMetadata.getInjectedVar('telemetryEnabled');
|
||||
const Private = $injector.get('Private');
|
||||
const telemetryOptInProvider = Private(TelemetryOptInProvider);
|
||||
setTelemetryOptInService(telemetryOptInProvider);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue