in frontend/src/app/modules/migration-mapper/components/migration-mapper/migration-mapper.component.ts [486:510]
private openAssignWaveConfirmationMessage(wave: string): void {
const dialogRef = this.dialog.open(ConfirmDialogComponent, {
data: <DialogData>{
message: `By this performing action you will change previous wave assignments for the selected list of mappings.
Do you want to proceed?`,
AcceptCtaText: true,
CancelCtaText: false,
acceptBtnText: 'Proceed',
cancelBtnText: 'Cancel',
headerText: 'Assign wave?'
},
width: '550px',
role: 'alertdialog',
panelClass: 'custom-dialog'
});
dialogRef.afterClosed().subscribe(result => {
if (result === true) {
this.assignWaveMigration(wave);
}
(error: string) => {
this.openSnackBar(error);
}
});
}