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); } -