mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-11 15:56:05 -07:00
Fixed an issue where the Subscribe button was appearing on available movies.
This commit is contained in:
parent
cd15e7ded7
commit
3a690e321e
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ namespace Ombi.Core.Engine
|
|||
}
|
||||
var request = await RequestService.MovieRequestService.GetAll()
|
||||
.AnyAsync(x => x.RequestedUserId.Equals(user.Id) && x.TheMovieDbId == viewModel.Id);
|
||||
if (request)
|
||||
if (request || viewModel.Available)
|
||||
{
|
||||
viewModel.ShowSubscribe = false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue