Hide subscribe button when request is denied

pull/4613/head
sephrat 3 years ago
parent a0e0ae1da3
commit 8daf8e0c7f

@ -533,7 +533,7 @@ namespace Ombi.Core.Engine
}
else
{
if (!x.Available && !x.Available4K)
if (!x.Available && !x.Available4K && (!x.Denied ?? true) && (!x.Denied4K ?? true))
{
x.ShowSubscribe = true;
}

@ -270,7 +270,7 @@ namespace Ombi.Core.Engine
}
else
{
if (!x.Available)
if (!x.Available && (!x.Denied ?? false))
{
x.ShowSubscribe = true;
}

@ -886,7 +886,7 @@ namespace Ombi.Core.Engine
}
else
{
if (!x.Available)
if (!x.Available && (!x.Denied ?? true))
{
x.ShowSubscribe = true;
}

Loading…
Cancel
Save