diff --git a/core-web/libs/portlets/dot-experiments/portlet/src/lib/dot-experiments-analytic-app-misconfiguration/dot-experiments-analytic-app-misconfiguration.component.ts b/core-web/libs/portlets/dot-experiments/portlet/src/lib/dot-experiments-analytic-app-misconfiguration/dot-experiments-analytic-app-misconfiguration.component.ts index d9cb651267e8..c859f61a4de3 100644 --- a/core-web/libs/portlets/dot-experiments/portlet/src/lib/dot-experiments-analytic-app-misconfiguration/dot-experiments-analytic-app-misconfiguration.component.ts +++ b/core-web/libs/portlets/dot-experiments/portlet/src/lib/dot-experiments-analytic-app-misconfiguration/dot-experiments-analytic-app-misconfiguration.component.ts @@ -34,10 +34,18 @@ export class DotExperimentsAnalyticAppMisconfigurationComponent implements OnIni ) {} ngOnInit(): void { - const { healthStatus } = this.location.getState() as { + const location = this.location.getState() as { healthStatus: HealthStatusTypes; }; + /** + * With the new UVE changes, probably we enter to this component without the location state + * so we need to check if the location state is not present and set the default configuration + * + * Probably needs a recheck later. This is a hotfix for realease + */ + const healthStatus = location?.healthStatus || HealthStatusTypes.NOT_CONFIGURED; + if (healthStatus === HealthStatusTypes.NOT_CONFIGURED) { this.setConfiguration( 'experiments.analytics-app-no-configured.title',