links to song, not remove when clicked

main
Matthew Huntington 3 months ago
parent b693e68b9c
commit 3e619cb27f

@ -39,10 +39,6 @@
description
} from '../libs/state.js'
const removeSong = (song) => {
copiedSongs.value = copiedSongs.value.filter(curr => curr.id !== song.id)
}
export default {
data() {
return {
@ -239,7 +235,11 @@
<label>Songs</label>
<ul v-if="copiedSongs.length > 0">
<li @click="removeSong(song)" v-for="song in copiedSongs">{{song.title}}</li>
<li v-for="song in copiedSongs">
<a v-bind:href="'#/songs/' + song.id">
{{song.title}}
</a>
</li>
</ul>
<label>Seconds</label>

Loading…
Cancel
Save