[CHANGE] Channel & Account list to view models
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
@page "/Channels"
|
||||
@using Manager.App.Controllers
|
||||
|
||||
@inject ILibraryService LibraryService
|
||||
|
||||
@@ -13,11 +14,13 @@
|
||||
AdornmentIcon="@Icons.Material.Filled.Search" IconSize="Size.Medium" Class="mt-0"></MudTextField>
|
||||
</ToolBarContent>
|
||||
<HeaderContent>
|
||||
<MudTh></MudTh>
|
||||
<MudTh>Name</MudTh>
|
||||
<MudTh>Handle</MudTh>
|
||||
<MudTh>Channel id</MudTh>
|
||||
</HeaderContent>
|
||||
<RowTemplate>
|
||||
<MudTd><MudImage Src="@(FileController.CreateProvideUrl(context.AvatarFileId))" Height="40"/></MudTd>
|
||||
<MudTd>@context.Name</MudTd>
|
||||
<MudTd>@context.Handle</MudTd>
|
||||
<MudTd>@context.Id</MudTd>
|
||||
|
||||
Reference in New Issue
Block a user