From a67b64dad056d17e01a72513c08759e9a03ef4f3 Mon Sep 17 00:00:00 2001 From: Adam French Date: Fri, 23 Jan 2026 12:21:35 +0000 Subject: [PATCH] fix fetch --- nginx/vue/src/components/home/Listening.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx/vue/src/components/home/Listening.vue b/nginx/vue/src/components/home/Listening.vue index 7bea741..f1ee9fa 100644 --- a/nginx/vue/src/components/home/Listening.vue +++ b/nginx/vue/src/components/home/Listening.vue @@ -3,7 +3,6 @@ import { ref, computed, onMounted, onUnmounted } from "vue"; import { useSongsStore } from "@/stores/songs"; const songsStore = useSongsStore(); -songsStore.fetchSongs(); const idx = ref(0); const song = computed(() => songsStore.songs[idx.value]); @@ -17,6 +16,7 @@ function nextSong() { } onMounted(() => { + songsStore.fetchSongs(); nextId = setTimeout(nextSong, 5000); refreshId = setInterval(songsStore.fetchSongs, 120000); });