mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-08 06:00:50 -07:00
Finished #925
This commit is contained in:
parent
8e2b5bd167
commit
39d77cdb19
6 changed files with 141 additions and 82 deletions
|
@ -44,6 +44,7 @@ using Ombi.Services.Notification;
|
|||
using Ombi.Store;
|
||||
using Ombi.UI.Models;
|
||||
using Ombi.UI.Models.Admin;
|
||||
using Ombi.UI.Models.Requests;
|
||||
using Action = Ombi.Helpers.Analytics.Action;
|
||||
using ISecurityExtensions = Ombi.Core.ISecurityExtensions;
|
||||
|
||||
|
@ -117,7 +118,9 @@ namespace Ombi.UI.Modules
|
|||
private async Task<Negotiator> LoadRequests()
|
||||
{
|
||||
var settings = await PrSettings.GetSettingsAsync();
|
||||
return View["Index", settings];
|
||||
var custom = await CustomizationSettings.GetSettingsAsync();
|
||||
|
||||
return View["Index", new RequestsIndexViewModel { CustomizationSettings = custom, PlexRequestSettings = settings }];
|
||||
}
|
||||
|
||||
private async Task<Response> GetMovies()
|
||||
|
@ -227,7 +230,7 @@ namespace Ombi.UI.Modules
|
|||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Log.Info(e);
|
||||
Log.Info(e);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -316,7 +319,7 @@ namespace Ombi.UI.Modules
|
|||
return Response.AsJson(new JsonResponseModel { Result = true });
|
||||
}
|
||||
|
||||
|
||||
|
||||
Analytics.TrackEventAsync(Category.Requests, Action.Delete, "Delete Request", Username, CookieHelper.GetAnalyticClientId(Cookies));
|
||||
|
||||
var currentEntity = await Service.GetAsync(requestid);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue