mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 22:07:13 -04:00
fixes #1562 - Sync status included in BaseItemDto does not reflect actual sync status.
This commit is contained in:
parent
19c7c26dad
commit
04ba2d57ac
@ -282,7 +282,7 @@ namespace MediaBrowser.Server.Implementations.Dto
|
||||
|
||||
else if (dto.HasSyncJob.Value)
|
||||
{
|
||||
dto.SyncStatus = SyncJobItemStatus.Queued;
|
||||
dto.SyncStatus = syncProgress.Where(i => string.Equals(i.ItemId, dto.Id, StringComparison.OrdinalIgnoreCase)).Select(i => i.Status).Max();
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -307,7 +307,7 @@ namespace MediaBrowser.Server.Implementations.Dto
|
||||
|
||||
else if (dto.HasSyncJob.Value)
|
||||
{
|
||||
dto.SyncStatus = SyncJobItemStatus.Queued;
|
||||
dto.SyncStatus = syncProgress.Where(i => string.Equals(i.ItemId, dto.Id, StringComparison.OrdinalIgnoreCase)).Select(i => i.Status).Max();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user