@ -28,6 +28,8 @@
<th>id</th>
<th>title</th>
<th>notes</th>
<th>lyrics</th>
<th>original</th>
</tr>
</thead>
<tbody>
@ -38,11 +40,16 @@
{{song.title}}
</a>
<br/>
<button @click="copy(song.title)">Copy</button>
<button @click="link(song)" v-if="copiedSongs.findIndex(currSong => currSong.id === song.id) === -1">Link</button>
<button @click="unlink(song)" v-if="copiedSongs.findIndex(currSong => currSong.id === song.id) !== -1">X</button>
</td>
<td>{{song.notes}}</td>
<td>
<a v-if="song.lyrics_link" target="lyrics" v-bind:href="song.lyrics_link">lyrics</a>
<a v-if="song.lyrics_link" target="original" v-bind:href="song.original_link">original</a>
</tbody>
</table>