rework detail page a little

pull/702/head
Luke Pulverenti 10 years ago
parent be070a0bfe
commit 75771927d6

@ -501,6 +501,11 @@ namespace MediaBrowser.Server.Implementations.Sync
var libraryItem = _libraryManager.GetItemById(jobItem.ItemId);
if (libraryItem == null)
{
return null;
}
var syncedItem = new SyncedItem
{
SyncJobId = jobItem.JobId,
@ -563,7 +568,9 @@ namespace MediaBrowser.Server.Implementations.Sync
Statuses = new List<SyncJobItemStatus> { SyncJobItemStatus.Transferring }
});
return jobItemResult.Items.Select(GetJobItemInfo)
return jobItemResult.Items
.Select(GetJobItemInfo)
.Where(i => i != null)
.ToList();
}

Loading…
Cancel
Save