mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-11 15:47:09 -07:00
some changes to unmapped view
This commit is contained in:
parent
16fcda18c3
commit
bfef6166f5
7 changed files with 31 additions and 16 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue