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:
@@ -18,7 +18,8 @@ export class SearchService {
|
||||
public searchLoading = false
|
||||
public songsResponse: Partial<SearchResult>
|
||||
public currentPage = 1
|
||||
public searchUpdated = new EventEmitter<Partial<SearchResult>>()
|
||||
public newSearch = new EventEmitter<Partial<SearchResult>>()
|
||||
public updateSearch = new EventEmitter<Partial<SearchResult>>()
|
||||
public isDefaultSearch = true
|
||||
|
||||
public groupedSongs: ChartData[][]
|
||||
@@ -115,7 +116,11 @@ export class SearchService {
|
||||
.value()
|
||||
)
|
||||
|
||||
this.searchUpdated.emit(response)
|
||||
if (nextPage) {
|
||||
this.updateSearch.emit(response)
|
||||
} else {
|
||||
this.newSearch.emit(response)
|
||||
}
|
||||
})
|
||||
)
|
||||
}
|
||||
@@ -154,7 +159,7 @@ export class SearchService {
|
||||
.value()
|
||||
)
|
||||
|
||||
this.searchUpdated.emit(response)
|
||||
this.newSearch.emit(response)
|
||||
})
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user