translated the heading of the dialogBox in .ts files
This commit is contained in:
committed by
Adam Saghy
parent
9766644fb8
commit
21dc452e36
+1
-1
@@ -53,7 +53,7 @@ export class ViewTransactionComponent {
|
||||
*/
|
||||
undoTransaction() {
|
||||
const accountId = this.route.parent.snapshot.params['recurringDepositAccountId'];
|
||||
const undoTransactionAccountDialogRef = this.dialog.open(RecurringDepositConfirmationDialogComponent, { data: { heading: 'Undo Transaction', dialogContext: this.translateService.instant('labels.dialogContext.Are you sure you want to undo this transaction ?') } });
|
||||
const undoTransactionAccountDialogRef = this.dialog.open(RecurringDepositConfirmationDialogComponent, { data: { heading: this.translateService.instant('labels.heading.Undo Transaction'), dialogContext: this.translateService.instant('labels.dialogContext.Are you sure you want to undo this transaction ?') } });
|
||||
undoTransactionAccountDialogRef.afterClosed().subscribe((response: any) => {
|
||||
if (response.confirm) {
|
||||
const locale = this.settingsService.language.code;
|
||||
|
||||
Reference in New Issue
Block a user