Improve chart folder download performance

This commit is contained in:
Geomitron
2023-12-28 13:29:11 -06:00
parent e1f2b126e0
commit abea03e099
4 changed files with 30 additions and 105 deletions

View File

@@ -60,7 +60,7 @@ export class SearchService {
this.search().subscribe()
}
get areMorePages() { return this.songsResponse.page && this.groupedSongs.length === this.songsResponse.page * resultsPerPage }
get areMorePages() { return this.songsResponse?.page && this.groupedSongs.length === this.songsResponse.page * resultsPerPage }
/**
* General search, uses the `/search?q=` endpoint.