fix: reload download states in HomeView and ArtistDetailView when download state changes
cp
This commit is contained in:
1 parent
87f8980323
commit
6cc625c0f1
2 files changed
+27
No files matched your search
@@ -142,6 +142,18 @@
|
||||
return albumDownloadStatuses.get(albumId) || false;
|
||||
}
|
||||
|
||||
$effect(() => {
|
||||
if (downloadStateVersion !== undefined) {
|
||||
const allAlbums = [
|
||||
...artist.albums,
|
||||
...artist.epsSingles,
|
||||
...artist.liveAlbums,
|
||||
...artist.compilations
|
||||
];
|
||||
loadAllAlbumDownloadStatuses(allAlbums);
|
||||
}
|
||||
});
|
||||
|
||||
interface SimilarArtistsPage {
|
||||
items: QobuzArtist[];
|
||||
total: number;
|
||||
|
||||
Reference in new issue
Block a user