translated the heading of the dialogBox in .ts files

This commit is contained in:
Pushpendra Kumar
2023-12-13 21:41:02 +01:00
committed by Adam Saghy
parent 9766644fb8
commit 21dc452e36
31 changed files with 216 additions and 46 deletions
@@ -100,7 +100,7 @@ export class CentersViewComponent implements OnInit {
private centersUnassignStaff() {
const dialogcontext: string = ""
const unAssignStaffDialogRef = this.dialog.open(ConfirmationDialogComponent, {
data: { heading: 'Unassign Staff', dialogContext: this.translateService.instant('labels.dialogContext.Are you sure you want Unassign Staff') }
data: { heading: this.translateService.instant('labels.heading.Unassign Staff'), dialogContext: this.translateService.instant('labels.dialogContext.Are you sure you want Unassign Staff') }
});
unAssignStaffDialogRef.afterClosed().subscribe((response: { confirm: any }) => {
if (response.confirm) {