mirror of
https://github.com/tcsenpai/swingmusic.git
synced 2025-07-29 06:02:06 +00:00
fix: queueStore.playFromAlbum receiving undefined album title
This commit is contained in:
parent
770688838c
commit
aa415519ef
@ -30,7 +30,7 @@ function play() {
|
||||
queue.play(queue.tracks[0]);
|
||||
break;
|
||||
case playSources.album:
|
||||
queue.playFromAlbum(album.info.album, album.info.artist, album.tracks);
|
||||
queue.playFromAlbum(album.info.title, album.info.artist, album.tracks);
|
||||
queue.play(album.tracks[0]);
|
||||
break;
|
||||
case playSources.playlist:
|
||||
|
@ -1,23 +1,15 @@
|
||||
<template>
|
||||
<div class="home">
|
||||
<AlbumOfTheDay />
|
||||
<home />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import AlbumOfTheDay from "@/components/AlbumOfTheDay.vue";
|
||||
|
||||
export default {
|
||||
name: "Home",
|
||||
components: {
|
||||
AlbumOfTheDay,
|
||||
},
|
||||
};
|
||||
<script setup lang="ts">
|
||||
import Home from "@/components/Home.vue";
|
||||
</script>
|
||||
|
||||
<style>
|
||||
.home {
|
||||
padding-left: 20px;
|
||||
text-align: center;
|
||||
}
|
||||
</style>
|
||||
.home {
|
||||
padding-left: 20px;
|
||||
text-align: center;
|
||||
}
|
||||
</style>
|
||||
|
Loading…
x
Reference in New Issue
Block a user