use songitem component on search page track items

This commit is contained in:
geoffrey45
2022-08-28 15:07:40 +03:00
parent 2c5afdf2c4
commit 2cb30e294f
5 changed files with 54 additions and 37 deletions
+3 -5
View File
@@ -89,7 +89,7 @@ export default defineStore("search", () => {
}
function loadTracks() {
loadCounter.tracks += 6;
loadCounter.tracks += 12;
loadMoreTracks(loadCounter.tracks)
.then((res) => {
@@ -100,7 +100,7 @@ export default defineStore("search", () => {
}
function loadAlbums() {
loadCounter.albums += 6;
loadCounter.albums += 12;
loadMoreAlbums(loadCounter.albums)
.then((res) => {
@@ -115,7 +115,7 @@ export default defineStore("search", () => {
}
function loadArtists() {
loadCounter.artists += 6;
loadCounter.artists += 12;
loadMoreArtists(loadCounter.artists)
.then((res) => {
@@ -186,8 +186,6 @@ export default defineStore("search", () => {
currentTab.value = tab;
}
setTimeout(() => {}, 3000);
return {
tracks,
albums,