diff --git a/components/playlists/AddPlaylistsModal.vue b/components/playlists/AddPlaylistsModal.vue new file mode 100644 index 0000000..c6e7196 --- /dev/null +++ b/components/playlists/AddPlaylistsModal.vue @@ -0,0 +1,30 @@ + + + + + + Your Playlists + + {{ playlistError }} + If you can't see your playlist here, make sure to add it to your Spotify profile. + Close + + + + + diff --git a/components/playlists/PlaylistBox.vue b/components/playlists/PlaylistBox.vue index 80ba2be..bfab3fd 100644 --- a/components/playlists/PlaylistBox.vue +++ b/components/playlists/PlaylistBox.vue @@ -13,17 +13,17 @@ const props = defineProps({ default: 'Playlist', required: true }, - controlElement: { - type: String, - default: null + userPlaylist : { + type: Boolean, + default: false }, - startGame: { - type: Boolean, - default: false - } + startGame: { + type: Boolean, + default: false + } }); -const emit = defineEmits(['chose-playlist']) +const emit = defineEmits(['chose-playlist','refresh']) const showModal = ref(false); @@ -54,7 +54,7 @@ const showModal = ref(false); + :playlist-cover="props.cover" :user-playlist="props.userPlaylist" @close-modal="showModal = false" @refresh="emit('refresh')"/>
Your Playlists
{{ playlistError }}
If you can't see your playlist here, make sure to add it to your Spotify profile.