Skip to content

Commit

Permalink
Update .razor.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
neozhu authored Sep 9, 2024
1 parent 7e5571e commit 240e9e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Templates/Pages/.razor.txt
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@
{
var contentText = string.Format(ConstantString.DeleteConfirmation, dto.Name);
var command = new Delete{itemname}Command(new int[] { dto.Id });
await DialogServiceHelper.ShowDeleteConfirmationDialog(command, ConstantString.DeleteConfirmationTitle, contentText,
await DialogServiceHelper.ShowDeleteConfirmationDialogAsync(command, ConstantString.DeleteConfirmationTitle, contentText,
async () =>
{
await _table.ReloadServerData();
Expand All @@ -319,7 +319,7 @@
{
var contentText = string.Format(ConstantString.DeleteConfirmWithSelected, _selectedItems.Count);
var command = new Delete{itemname}Command(_selectedItems.Select(x => x.Id).ToArray());
await DialogServiceHelper.ShowDeleteConfirmationDialog(command, ConstantString.DeleteConfirmationTitle, contentText,
await DialogServiceHelper.ShowDeleteConfirmationDialogAsync(command, ConstantString.DeleteConfirmationTitle, contentText,
async () =>
{
await _table.ReloadServerData();
Expand Down

0 comments on commit 240e9e6

Please sign in to comment.