diff --git a/PlexRequests.UI/Modules/RequestsModule.cs b/PlexRequests.UI/Modules/RequestsModule.cs index d6f565f27..6651b1c8a 100644 --- a/PlexRequests.UI/Modules/RequestsModule.cs +++ b/PlexRequests.UI/Modules/RequestsModule.cs @@ -99,7 +99,7 @@ namespace PlexRequests.UI.Modules ReleaseDateTicks = movie.ReleaseDate.Ticks, RequestedDate = movie.RequestedDate.Humanize(), RequestedDateTicks = movie.RequestedDate.Ticks, - Approved = movie.Available ? true : movie.Approved, + Approved = movie.Available || movie.Approved, Title = movie.Title, Overview = movie.Overview, RequestedBy = movie.RequestedBy, @@ -136,7 +136,7 @@ namespace PlexRequests.UI.Modules ReleaseDateTicks = tv.ReleaseDate.Ticks, RequestedDate = tv.RequestedDate.Humanize(), RequestedDateTicks = tv.RequestedDate.Ticks, - Approved = tv.Available ? true : tv.Approved, + Approved = tv.Available || tv.Approved, Title = tv.Title, Overview = tv.Overview, RequestedBy = tv.RequestedBy, diff --git a/PlexRequests.UI/Views/Requests/Index.cshtml b/PlexRequests.UI/Views/Requests/Index.cshtml index c641126bb..11d8dd33e 100644 --- a/PlexRequests.UI/Views/Requests/Index.cshtml +++ b/PlexRequests.UI/Views/Requests/Index.cshtml @@ -20,43 +20,49 @@
-
- @if (Context.CurrentUser.IsAuthenticated()) - { - @if (Model.SearchForMovies) - { - - } - @if (Model.SearchForTvShows) - { - - } - } -
-
- - -
-
- - +
+
+
+
+ @if (Context.CurrentUser.IsAuthenticated()) + { + @if (Model.SearchForMovies) + { + + } + @if (Model.SearchForTvShows) + { + + } + } +
+ + +
+
@if (Model.SearchForMovies) {