AbsaOSS / cps-shared-ui

Angular shared components library
https://absaoss.github.io/cps-shared-ui/
Apache License 2.0
2 stars 2 forks source link

Update closeAll to close dialogs in all instances #369

Closed lukasmatta closed 3 months ago

lukasmatta commented 3 months ago

Main motivation is to support multi-instance usage of CpsDialogService. We might need multiple instances, as some services injected in the component that is open as a dialog might not be provided at the root level.

The inspiration for the solution was taken from Angular Components lib - CDK dialog and Material dialog