Add admin roles, user management, and campaign deletion
This commit is contained in:
@@ -43,6 +43,18 @@ public partial class Home
|
||||
ClearStatus();
|
||||
}
|
||||
|
||||
private void OnAdminRequested()
|
||||
{
|
||||
CurrentView = HomeViewMode.Admin;
|
||||
ClearStatus();
|
||||
}
|
||||
|
||||
private void OnWorkspaceRequested()
|
||||
{
|
||||
CurrentView = HomeViewMode.Workspace;
|
||||
ClearStatus();
|
||||
}
|
||||
|
||||
private void OnLoggedOutAsync(string? message)
|
||||
{
|
||||
CurrentView = HomeViewMode.Anonymous;
|
||||
@@ -75,4 +87,4 @@ public partial class Home
|
||||
|
||||
[Inject]
|
||||
private RpgRollerApiClient ApiClient { get; set; } = null!;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user