Fix adding new archive for redist not showing upon completion
Fixes #42
This commit is contained in:
parent
a450ac4a18
commit
6cc947b47e
1 changed files with 7 additions and 1 deletions
|
@ -66,7 +66,13 @@
|
|||
|
||||
private async Task LoadData()
|
||||
{
|
||||
Archives = await ArchiveService.Get(a => a.GameId == GameId).ToListAsync();
|
||||
if (GameId != Guid.Empty)
|
||||
Archives = await ArchiveService.Get(a => a.GameId == GameId).ToListAsync();
|
||||
else if (RedistributableId != Guid.Empty)
|
||||
Archives = await ArchiveService.Get(a => a.RedistributableId == RedistributableId).ToListAsync();
|
||||
|
||||
if (ArchivesChanged.HasDelegate)
|
||||
await ArchivesChanged.InvokeAsync(Archives);
|
||||
}
|
||||
|
||||
private async Task Download(Archive archive)
|
||||
|
|
Loading…
Add table
Reference in a new issue