diff --git a/src/views/Profile/VideoView.vue b/src/views/Profile/VideoView.vue index ab82b83d..bbeb6f8e 100644 --- a/src/views/Profile/VideoView.vue +++ b/src/views/Profile/VideoView.vue @@ -17,23 +17,8 @@ import BaseDivider from "@/components/BaseDivider.vue"; const videoData = ref([]); const loading = ref(false); - -/* - * Music data is stored by game/version: - * - * { - * iidx: { - * 30: { - * 123: { id: 123, name: "...", artist: "..." }, - * 456: { id: 456, name: "...", artist: "..." }, - * }, - * 31: { - * ... - * } - * } - * } - */ const musicData = ref({}); +const newestVideo = ref(null); const headers = [ { @@ -139,6 +124,7 @@ async function loadVideos() { artist: song?.artist || "Unknown Artist", }; }); + newestVideo.value = videoData.value[0]; } catch (error) { console.error("Failed to fetch video data:", error); } finally { @@ -196,15 +182,15 @@ function openInNewTab(url) { -