mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-05 04:53:01 +00:00
make playlist cards smaller on playlist list page
This commit is contained in:
+10
-16
@@ -80,27 +80,21 @@ export default defineStore("search", () => {
|
||||
function fetchAlbums(query: string) {
|
||||
if (!query) return;
|
||||
|
||||
startLoading();
|
||||
searchAlbums(query)
|
||||
.then((res) => {
|
||||
albums.value = res.albums;
|
||||
albums.more = res.more;
|
||||
albums.query = query;
|
||||
})
|
||||
.then(() => stopLoading());
|
||||
searchAlbums(query).then((res) => {
|
||||
albums.value = res.albums;
|
||||
albums.more = res.more;
|
||||
albums.query = query;
|
||||
});
|
||||
}
|
||||
|
||||
function fetchArtists(query: string) {
|
||||
if (!query) return;
|
||||
|
||||
startLoading();
|
||||
searchArtists(query)
|
||||
.then((res) => {
|
||||
artists.value = res.artists;
|
||||
artists.more = res.more;
|
||||
artists.query = query;
|
||||
})
|
||||
.then(() => stopLoading());
|
||||
searchArtists(query).then((res) => {
|
||||
artists.value = res.artists;
|
||||
artists.more = res.more;
|
||||
artists.query = query;
|
||||
});
|
||||
}
|
||||
|
||||
function loadTracks() {
|
||||
|
||||
Reference in New Issue
Block a user