diff --git a/Ombi.UI/Views/Integration/Radarr.cshtml b/Ombi.UI/Views/Integration/Radarr.cshtml
index 00a9d4968..05e653ad2 100644
--- a/Ombi.UI/Views/Integration/Radarr.cshtml
+++ b/Ombi.UI/Views/Integration/Radarr.cshtml
@@ -17,6 +17,7 @@
{
rootFolder = Model.RootPath.Replace("/", "//");
+ rootFolder = rootFolder.Replace(@"\", @"\\");
}
}
diff --git a/Ombi.UI/Views/Shared/Partial/_Navbar.cshtml b/Ombi.UI/Views/Shared/Partial/_Navbar.cshtml
index ae4901113..60a8420d3 100644
--- a/Ombi.UI/Views/Shared/Partial/_Navbar.cshtml
+++ b/Ombi.UI/Views/Shared/Partial/_Navbar.cshtml
@@ -20,6 +20,7 @@
{
title = customName;
}
+ var isAdmin = Html.IsAdmin();
}
@@ -41,11 +42,11 @@
@Html.GetNavbarUrl(Context, "/search", UI.Layout_Search, "search")
@Html.GetNavbarUrl(Context, "/requests", UI.Layout_Requests, "plus-circle")
@Html.GetNavbarUrl(Context, "/issues", UI.Layout_Issues, "exclamation", "
")
- @if (Html.IsAdmin())
+ @if (isAdmin)
{
@Html.GetNavbarUrl(Context, "/usermanagement", UI.Layout_Usermanagement, "users")
}
- @if (Html.IsAdmin())
+ @if (isAdmin)
{
@UI.Layout_Donate
}
@@ -55,7 +56,7 @@
- @if (Html.IsAdmin())
+ @if (isAdmin)
{
@UI.Layout_Welcome @Context.CurrentUser.UserName
@@ -121,7 +122,7 @@