@eric-emg/symphiq-components 1.2.39 → 1.2.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -23629,10 +23629,10 @@ class SymphiqFunnelAnalysisPreviewComponent {
23629
23629
  this.tooltipDataService = inject(TooltipDataService);
23630
23630
  this.competitiveScoreService = inject(CompetitiveScoreService);
23631
23631
  // Normalized analysis data
23632
- this.title = computed(() => this.analysisInput().title || '', ...(ngDevMode ? [{ debugName: "title" }] : []));
23632
+ this.title = computed(() => this.analysisInput()?.title || '', ...(ngDevMode ? [{ debugName: "title" }] : []));
23633
23633
  this.analysis = computed(() => {
23634
23634
  const rawAnalysis = this.analysisInput();
23635
- return normalizeToV3(rawAnalysis.performanceOverviewStructured);
23635
+ return normalizeToV3(rawAnalysis?.performanceOverviewStructured);
23636
23636
  }, ...(ngDevMode ? [{ debugName: "analysis" }] : []));
23637
23637
  this.overallAssessment = computed(() => this.analysis().overallAssessment || {}, ...(ngDevMode ? [{ debugName: "overallAssessment" }] : []));
23638
23638
  this.metrics = computed(() => this.analysis().metrics || [], ...(ngDevMode ? [{ debugName: "metrics" }] : []));