|
|
@ -22,6 +22,8 @@ namespace NzbDrone.Api.Update
|
|
|
|
.OrderByDescending(u => u.Version)
|
|
|
|
.OrderByDescending(u => u.Version)
|
|
|
|
.InjectTo<List<UpdateResource>>();
|
|
|
|
.InjectTo<List<UpdateResource>>();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (resources.Any())
|
|
|
|
|
|
|
|
{
|
|
|
|
var first = resources.First();
|
|
|
|
var first = resources.First();
|
|
|
|
first.Latest = true;
|
|
|
|
first.Latest = true;
|
|
|
|
|
|
|
|
|
|
|
@ -36,6 +38,7 @@ namespace NzbDrone.Api.Update
|
|
|
|
{
|
|
|
|
{
|
|
|
|
installed.Installed = true;
|
|
|
|
installed.Installed = true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return resources;
|
|
|
|
return resources;
|
|
|
|
}
|
|
|
|
}
|
|
|
|