mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
some changes to unmapped view
This commit is contained in:
@@ -51,7 +51,7 @@ namespace NzbDrone.Web.Controllers
|
||||
|
||||
public ActionResult UnMapped()
|
||||
{
|
||||
return View(_seriesProvider.GetUnmappedFolders());
|
||||
return View(_seriesProvider.GetUnmappedFolders().Select(c => new MappingModel() { Id = 1, Path = c.Value }).ToList());
|
||||
}
|
||||
|
||||
|
||||
@@ -156,6 +156,14 @@ namespace NzbDrone.Web.Controllers
|
||||
//
|
||||
// GET: /Series/Details/5
|
||||
|
||||
[AcceptVerbs(HttpVerbs.Post)]
|
||||
[GridAction]
|
||||
public ActionResult _SaveAjaxEditing(string id)
|
||||
{
|
||||
return RedirectToAction("UnMapped");
|
||||
}
|
||||
|
||||
|
||||
public ActionResult Details(int seriesId)
|
||||
{
|
||||
return View(_seriesProvider.GetSeries(seriesId));
|
||||
|
Reference in New Issue
Block a user