|
|
|
|
@ -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>
|
|
|
|
|
|