mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
new quality profile edit view.
This commit is contained in:
parent
ef58acb4b5
commit
dca32e9e0f
5 changed files with 66 additions and 36 deletions
|
@ -75,7 +75,10 @@ namespace NzbDrone.Api.Qualities
|
|||
return new QualityProfileResource
|
||||
{
|
||||
Cutoff = profile.Cutoff.InjectTo<QualityResource>(),
|
||||
Qualities = Quality.All().InjectTo<List<QualityResource>>(),
|
||||
Available = Quality.All()
|
||||
.Where(c => !profile.Allowed.Any(q => c.Id == q.Id))
|
||||
.InjectTo<List<QualityResource>>(),
|
||||
|
||||
Allowed = profile.Allowed.InjectTo<List<QualityResource>>(),
|
||||
Name = profile.Name,
|
||||
Id = profile.Id
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue