fix: reload download states in HomeView and ArtistDetailView when download state changes

cp
This commit is contained in:
vicrodh committed 2026-01-15 00:45:25 -06:00
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;