[APM] Fix trace explorer enabled by default bug (#162473)

Trace explorer was enabled by default in this
[PR](https://github.com/elastic/kibana/pull/162308), but there was
something missing, the fix it's done here.
This commit is contained in:
Miriam 2023-07-26 10:59:27 +01:00 committed by GitHub
parent 889d3d82ca
commit e17530fe35
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,5 +11,5 @@ import { useApmPluginContext } from '../context/apm_plugin/use_apm_plugin_contex
export function useTraceExplorerEnabledSetting() {
const { core } = useApmPluginContext();
return core.uiSettings.get<boolean>(apmTraceExplorerTab, false);
return core.uiSettings.get<boolean>(apmTraceExplorerTab, true);
}