feat(ui): wire artist click through all views using AlbumCard
Pass artistId and onArtistClick to AlbumCard in HomeView, SearchView, FavoritesView, LabelView, and AlbumDetailView. Add artistId to AlbumCardData interface. Add onArtistClick prop to LabelView and wire it from +page.svelte.
This commit is contained in:
1 parent
f5d947e8f1
commit
f3be2b737f
8 files changed
+42
-2
No files matched your search
@@ -13,6 +13,7 @@ export interface AlbumCardData {
|
||||
artwork: string;
|
||||
title: string;
|
||||
artist: string;
|
||||
artistId?: number;
|
||||
genre: string;
|
||||
quality?: string;
|
||||
releaseDate?: string;
|
||||
|
||||
Reference in new issue
Block a user