@eric-emg/symphiq-components 1.2.416 → 1.2.418

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.
@@ -14459,7 +14459,7 @@ class RecommendationCardComponent {
14459
14459
  this.displayItem = computed(() => {
14460
14460
  let displayItem;
14461
14461
  if (this.recommendation()) {
14462
- const rec = this.recommendation;
14462
+ const rec = this.recommendation();
14463
14463
  const label = rec.title || rec.label || 'Recommendation';
14464
14464
  const value = rec.description || rec.value;
14465
14465
  const icon = rec.icon || { name: 'light-bulb', source: IconSourceEnum.HEROICONS };
@@ -45276,12 +45276,8 @@ class BusinessAnalysisModalComponent {
45276
45276
  return 'text-slate-600 hover:text-slate-900';
45277
45277
  }
45278
45278
  closeModal() {
45279
- // If this is a child modal (like visualization opened from goal modal),
45280
- // go back to the parent modal instead of closing everything
45281
- const prevState = this.previousState();
45282
- if (prevState) {
45283
- this.modalService.goBack(prevState);
45284
- this.previousState.set(null);
45279
+ if (this.modalType() === 'visualization' && this.previousState()) {
45280
+ this.modalService.goBack(this.previousState());
45285
45281
  }
45286
45282
  else {
45287
45283
  this.modalService.closeModal();