mirror of
https://github.com/Myxelium/Bridge-Multi.git
synced 2026-04-11 14:19:38 +00:00
Improve download UI
This commit is contained in:
@@ -48,6 +48,11 @@ export class DownloadService {
|
||||
return count ? total / count : 0
|
||||
}
|
||||
|
||||
get currentDownloadText() {
|
||||
const download = this.downloads.find(d => !d.stale && d.type === 'good')
|
||||
return download ? `Downloading: ${_.truncate(download.chartName, { length: 80 })}` : ''
|
||||
}
|
||||
|
||||
get anyErrorsExist() {
|
||||
return this.downloads.find(download => download.type === 'error') ? true : false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user