Skip to content

Commit

Permalink
fix(modal.service): fix modal service not selecting the next modal wh…
Browse files Browse the repository at this point in the history
…en close method is called directly.
  • Loading branch information
WilliamAguera committed Jan 7, 2020
1 parent eea5fe7 commit 3420369
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -263,14 +263,16 @@ export class ModalService implements OnDestroy {
this.removeOfList(id);
}
this.changeModal.next();
this.handleActiveWindow();
return;
}
if (this.selectedModal) {
this.removeOfView(this.selectedModal.modal);
this.removeBackdrop(this.selectedModal.modal);
this.removeOfList(this.selectedModal.id);
this.changeModal.next();
this.handleActiveWindow();
}
this.changeModal.next();
}

minimizeAll() {
Expand Down

0 comments on commit 3420369

Please sign in to comment.