diff --git a/Moonlight.ApiServer/Exceptions/MissingPermissionException.cs b/Moonlight.ApiServer/Exceptions/MissingPermissionException.cs
deleted file mode 100644
index 35cc1af4..00000000
--- a/Moonlight.ApiServer/Exceptions/MissingPermissionException.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-namespace Moonlight.ApiServer.Exceptions;
-
-public class MissingPermissionException : Exception
-{
- public string Permission { get; set; }
-
- public MissingPermissionException(string permission)
- {
- Permission = permission;
- }
-}
\ No newline at end of file
diff --git a/Moonlight.Client/UI/Partials/AppHeader.razor b/Moonlight.Client/UI/Partials/AppHeader.razor
index 8c8c6b83..86635cd0 100644
--- a/Moonlight.Client/UI/Partials/AppHeader.razor
+++ b/Moonlight.Client/UI/Partials/AppHeader.razor
@@ -7,18 +7,11 @@
@inject AuthenticationStateManager AuthStateManager
- @if (Layout.ShowMobileNavigation)
- {
-
- }
- else
+ @if (!Layout.ShowMobileNavigation)
{
}
@@ -44,7 +37,6 @@
-
diff --git a/Moonlight.Client/UI/Partials/AppSidebar.razor b/Moonlight.Client/UI/Partials/AppSidebar.razor
index 455306e0..f3300302 100644
--- a/Moonlight.Client/UI/Partials/AppSidebar.razor
+++ b/Moonlight.Client/UI/Partials/AppSidebar.razor
@@ -9,17 +9,24 @@
var url = new Uri(Navigation.Uri);
}
-
-
+
+
-
-
-
-
a
-

+
@@ -132,7 +140,7 @@
foreach (var provider in SidebarItemProviders)
provider.ModifySidebar(sidebarItems);
-
+
Items = sidebarItems
//.Where(x => x.Permission == null || (x.Permission != null && IdentityService.HasPermission(x.Permission)))
.GroupBy(x => x.Group ?? "")
diff --git a/Moonlight.Client/UI/Views/Admin/Api/Index.razor b/Moonlight.Client/UI/Views/Admin/Api/Index.razor
index d83d5ea7..cf791399 100644
--- a/Moonlight.Client/UI/Views/Admin/Api/Index.razor
+++ b/Moonlight.Client/UI/Views/Admin/Api/Index.razor
@@ -9,7 +9,7 @@
@inject AlertService AlertService
@inject ToastService ToastService
-