mirror of
https://github.com/Myxelium/Bridge-Multi.git
synced 2026-07-08 02:55:09 +00:00
Fixed "download all charts for each song" button
This commit is contained in:
@@ -84,8 +84,8 @@ export class StatusBarComponent {
|
||||
}
|
||||
|
||||
downloadAllCharts() {
|
||||
const chartGroups = groupBy(this.batchResults, 'chartID')
|
||||
for (const chart of chartGroups) {
|
||||
const songChartGroups = groupBy(this.batchResults, 'songID', 'chartID')
|
||||
for (const chart of songChartGroups) {
|
||||
this.searchService.sortChart(chart)
|
||||
const downloadVersion = chart[0]
|
||||
const downloadSong = this.selectedResults.find(song => song.id == downloadVersion.songID)
|
||||
|
||||
Reference in New Issue
Block a user