mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-14 01:02:57 -07:00
Hide subscribe button when request is denied
This commit is contained in:
parent
a0e0ae1da3
commit
8daf8e0c7f
3 changed files with 3 additions and 3 deletions
|
@ -533,7 +533,7 @@ namespace Ombi.Core.Engine
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (!x.Available && !x.Available4K)
|
if (!x.Available && !x.Available4K && (!x.Denied ?? true) && (!x.Denied4K ?? true))
|
||||||
{
|
{
|
||||||
x.ShowSubscribe = true;
|
x.ShowSubscribe = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -270,7 +270,7 @@ namespace Ombi.Core.Engine
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (!x.Available)
|
if (!x.Available && (!x.Denied ?? false))
|
||||||
{
|
{
|
||||||
x.ShowSubscribe = true;
|
x.ShowSubscribe = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -886,7 +886,7 @@ namespace Ombi.Core.Engine
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (!x.Available)
|
if (!x.Available && (!x.Denied ?? true))
|
||||||
{
|
{
|
||||||
x.ShowSubscribe = true;
|
x.ShowSubscribe = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue