@eric-emg/symphiq-components 1.2.416 → 1.2.417

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.
@@ -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();