139a612b6c
* Clean up repeated code * Move User cards to a reusable component * Create page for Login * Clean up Login, Register, and Change password forms * Add links to sidebar navigation * Lots of other misc. stuff
13 lines
334 B
C#
13 lines
334 B
C#
using Microsoft.Extensions.Options;
|
|
namespace TaikoWebUI.Pages;
|
|
|
|
public partial class Users
|
|
{
|
|
private DashboardResponse? response;
|
|
|
|
protected override async Task OnInitializedAsync()
|
|
{
|
|
await base.OnInitializedAsync();
|
|
response = await Client.GetFromJsonAsync<DashboardResponse>("api/Dashboard");
|
|
}
|
|
} |