Added update ipc handler

This commit is contained in:
Geomitron
2020-05-21 14:17:51 -04:00
parent 64701e4909
commit 9e0d332a1a
7 changed files with 128 additions and 27 deletions

View File

@@ -33,7 +33,6 @@ export class DownloadService {
const thisDownloadIndex = this.downloads.findIndex(download => download.versionID == result.versionID)
if (thisDownloadIndex == -1) {
this.downloads.push(result)
// TODO: this.downloads.sort(downloadSorter)
} else {
this.downloads[thisDownloadIndex] = result
}