Done the same for TV

pull/332/head
tidusjar 9 years ago
parent 41b439d3bb
commit a003068869

@ -189,6 +189,8 @@ namespace PlexRequests.UI.Modules
IEnumerable<QualityModel> qualities = new List<QualityModel>(); IEnumerable<QualityModel> qualities = new List<QualityModel>();
if (IsAdmin) if (IsAdmin)
{
try
{ {
var sonarrSettings = SonarrSettings.GetSettings(); var sonarrSettings = SonarrSettings.GetSettings();
if (sonarrSettings.Enabled) if (sonarrSettings.Enabled)
@ -208,6 +210,12 @@ namespace PlexRequests.UI.Modules
} }
} }
} }
catch (Exception e)
{
Log.Info(e);
}
}
var viewModel = dbTv.Select(tv => var viewModel = dbTv.Select(tv =>
{ {

Loading…
Cancel
Save