mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 20:43:04 +00:00
fix incorrect album fetching
This commit is contained in:
@@ -40,11 +40,12 @@ export default {
|
||||
setup() {
|
||||
const route = useRoute();
|
||||
const album_name = route.params.album;
|
||||
const album_artists = route.params.artist;
|
||||
const album_songs = ref([]);
|
||||
const album_info = ref({});
|
||||
|
||||
onMounted(() => {
|
||||
getAlbum(album_name).then((data) => {
|
||||
getAlbum(album_name, album_artists).then((data) => {
|
||||
album_songs.value = data.songs;
|
||||
album_info.value = data.info;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user