From 13ee2ed1d6c0ee3b7c85a735ffc119db5686d394 Mon Sep 17 00:00:00 2001 From: geoffrey45 Date: Wed, 26 Jan 2022 10:01:35 +0300 Subject: [PATCH] start migration to \ No newline at end of file + diff --git a/src/components/shared/SongItem.vue b/src/components/shared/SongItem.vue index e702c453..61474ee6 100644 --- a/src/components/shared/SongItem.vue +++ b/src/components/shared/SongItem.vue @@ -1,14 +1,10 @@ @@ -55,15 +49,15 @@ import perks from "@/composables/perks.js"; import state from "@/composables/state.js"; export default { - props: ["song"], - emits: ['updateQueue', 'loadAlbum'], + props: ["song", "index"], + emits: ["updateQueue", "loadAlbum"], setup(props, { emit }) { function emitUpdate(song) { emit("updateQueue", song); } function emitLoadAlbum(title, artist) { - console.log('hii') + console.log("hii"); emit("loadAlbum", title, artist); } @@ -80,8 +74,19 @@ export default { \ No newline at end of file +