mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-12 16:22:55 -07:00
ignore items that are already available when approving in bulk, and simplify the checking + compile css
This commit is contained in:
parent
1ca3e0532b
commit
934425a0c5
4 changed files with 14 additions and 5 deletions
|
@ -59,6 +59,15 @@ namespace PlexRequests.Store
|
|||
}
|
||||
}
|
||||
|
||||
[JsonIgnore]
|
||||
public bool CanApprove
|
||||
{
|
||||
get
|
||||
{
|
||||
return !Approved && !Available;
|
||||
}
|
||||
}
|
||||
|
||||
public bool UserHasRequested(string username)
|
||||
{
|
||||
return AllUsers.Any(x => x.Equals(username, StringComparison.OrdinalIgnoreCase));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue