Skip to content

Commit

Permalink
Merge pull request #71 from neozhu/improvetemplate
Browse files Browse the repository at this point in the history
Update .razor.txt
  • Loading branch information
neozhu authored Dec 31, 2023
2 parents f04028a + b4da678 commit c5d30cd
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 @@ -161,11 +161,11 @@
EndIcon="@Icons.Material.Filled.KeyboardArrowDown" IconColor="Color.Info" AnchorOrigin="Origin.CenterLeft">
@if (_canEdit)
{
<MudMenuItem OnClick="@(()=>OnEdit(context.Item))">@ConstantString.Edit</MudMenuItem>
<MudMenuItem OnAction="@(()=>OnEdit(context.Item))">@ConstantString.Edit</MudMenuItem>
}
@if (_canDelete)
{
<MudMenuItem OnClick="@(()=>OnDelete(context.Item))">@ConstantString.Delete</MudMenuItem>
<MudMenuItem OnAction="@(()=>OnDelete(context.Item))">@ConstantString.Delete</MudMenuItem>
}
</MudMenu>
}
Expand Down

0 comments on commit c5d30cd

Please sign in to comment.