Code Cleanup
This commit is contained in:
@@ -139,12 +139,14 @@ public partial class Workspace : IAsyncDisposable
|
||||
};
|
||||
|
||||
if (State.IsCurrentUserAdmin)
|
||||
{
|
||||
items.Add(new()
|
||||
{
|
||||
Label = "Admin",
|
||||
IsActive = State.IsAdminScreen,
|
||||
OnSelected = () => Session.SwitchScreenAsync(ScreenAdmin)
|
||||
});
|
||||
}
|
||||
|
||||
return items;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user