mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Fixed orphaned job issue in JobController
System/Jobs now shows items currently in queue.
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user