It is very simple after closing the dialog for subscribing and calling the list API
openDialog(requestId): void { //this.abc=requestId; const dialogRef = this.dialog.open(DialogOverviewExampleDialog, { disableClose: true, width: '400px', data: { name: this.name, animal: this.animal, sendtochild: requestId } }); dialogRef.afterClosed().subscribe(result => { this.getUserList(); }); }
Bighnesh
source share