diff --git a/x-pack/plugins/observability_onboarding/public/components/app/custom_logs/install_elastic_agent.tsx b/x-pack/plugins/observability_onboarding/public/components/app/custom_logs/install_elastic_agent.tsx index c22484313df7b..aea68cdd6711c 100644 --- a/x-pack/plugins/observability_onboarding/public/components/app/custom_logs/install_elastic_agent.tsx +++ b/x-pack/plugins/observability_onboarding/public/components/app/custom_logs/install_elastic_agent.tsx @@ -62,14 +62,13 @@ export function InstallElasticAgent() { const [elasticAgentPlatform, setElasticAgentPlatform] = useState('linux-tar'); - const datasetEnforcedName = `${ - integration === dataset ? dataset : `${integration}.${dataset}` - }`; + const enforcedDatasetName = + integration === dataset ? dataset : `${integration}.${dataset}`; async function onContinue() { await singleDatasetLocator!.navigate({ integration, - dataset: datasetEnforcedName, + dataset: enforcedDatasetName, }); }