Pull request #332: pass fileName to confirmation dialog
Merge in RED/ui from FIX_RED-3123 to master * commit '0f2c40677cbaa8977fa5f413bd0d19f987591a11': pass fileName to confirmation dialog
This commit is contained in:
commit
ce07fef3c8
@ -99,6 +99,9 @@ export class ReportsScreenComponent implements OnInit {
|
|||||||
question: _('confirmation-dialog.report-template-same-name.question'),
|
question: _('confirmation-dialog.report-template-same-name.question'),
|
||||||
confirmationText: _('confirmation-dialog.report-template-same-name.confirmation-text'),
|
confirmationText: _('confirmation-dialog.report-template-same-name.confirmation-text'),
|
||||||
denyText: _('confirmation-dialog.report-template-same-name.deny-text'),
|
denyText: _('confirmation-dialog.report-template-same-name.deny-text'),
|
||||||
|
translateParams: {
|
||||||
|
fileName: file.name,
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
this._dialogService.openDialog('confirm', null, data, null, async result => {
|
this._dialogService.openDialog('confirm', null, data, null, async result => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user