Refactor Items page to Razor component

This commit is contained in:
2023-12-02 20:52:01 +00:00
parent f1d65f590f
commit 51bff2162e
14 changed files with 109 additions and 418 deletions

View File

@ -26,7 +26,7 @@
</div>
@code {
[Parameter]
[Parameter, EditorRequired]
public required IListPageModel Model { get; set; }
private int FirstItem => Model.Count > 0 ? Model.Offset + 1 : 0;