mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-12 08:07:10 -07:00
Fixed orphaned job issue in JobController
System/Jobs now shows items currently in queue.
This commit is contained in:
parent
da27db7e03
commit
d640fa65e8
6 changed files with 141 additions and 78 deletions
|
@ -1,4 +1,5 @@
|
|||
using System;
|
||||
using System.Linq;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Web.Mvc;
|
||||
|
@ -28,6 +29,7 @@ namespace NzbDrone.Web.Controllers
|
|||
|
||||
public ActionResult Jobs()
|
||||
{
|
||||
ViewData["Queue"] = JobProvider.Queue.Select(c => new Tuple<String, int>(c.Item1.Name, c.Item2));
|
||||
return View(_jobProvider.All());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue