mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-10-29 05:11:15 +00:00
make playlist cards smaller on playlist list page
This commit is contained in:
1 parent
6f138005f5
commit
c782e400c6
4 files changed
+13
-23
No files matched your search
+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