mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-07 13:32:17 -07:00
updated notification ui
This commit is contained in:
parent
273de41d23
commit
9c7500d4ae
11 changed files with 93 additions and 77 deletions
|
@ -21,7 +21,13 @@ namespace NzbDrone.Web.Controllers
|
|||
[HttpGet]
|
||||
public JsonResult Index()
|
||||
{
|
||||
return Json(_notifications.GetProgressNotifications, JsonRequestBehavior.AllowGet);
|
||||
string message = string.Empty;
|
||||
if (_notifications.GetProgressNotifications.Count != 0)
|
||||
{
|
||||
message = _notifications.GetProgressNotifications[0].CurrentStatus;
|
||||
}
|
||||
|
||||
return Json(message, JsonRequestBehavior.AllowGet);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue