I\'m working on an application that shows an overview of entities in a datatable. Every entity has linked entities that are shown as \'xxx linked entities\' in a column. When th
I had this problem and I just fixed it now.
you need to subscribe router events after creating the dialogRef object. you can check the code
const dialogRef = this.dialog.open(MyComponent, { width: '380px', height: '320px', }); this.router.events .subscribe(() => { dialogRef.close(); });