mirror of
https://github.com/Myxelium/Bridge-Multi.git
synced 2026-04-11 14:19:38 +00:00
Fix checkboxes and bulk download
This commit is contained in:
@@ -44,7 +44,7 @@ export class ChartSidebarComponent implements OnInit {
|
||||
) { }
|
||||
|
||||
ngOnInit() {
|
||||
this.searchService.searchUpdated.subscribe(() => {
|
||||
this.searchService.newSearch.subscribe(() => {
|
||||
this.charts = null
|
||||
this.selectedChart = null
|
||||
})
|
||||
@@ -280,8 +280,7 @@ export class ChartSidebarComponent implements OnInit {
|
||||
* Adds the selected chart to the download queue.
|
||||
*/
|
||||
onDownloadClicked() {
|
||||
this.downloadService.addDownload(this.selectedChart!.md5, `${this.selectedChart!.artist ?? 'Unknown Artist'
|
||||
} - ${this.selectedChart!.name ?? 'Unknown Name'} (${this.selectedChart!.charter ?? 'Unknown Charter'})`)
|
||||
this.downloadService.addDownload(this.selectedChart!)
|
||||
}
|
||||
|
||||
public showMenu() {
|
||||
|
||||
Reference in New Issue
Block a user