use song id for links between show category and songs

practiced-songs
Matthew Huntington 6 months ago
parent 3bc4f41f48
commit ba8a12b081

@ -45,7 +45,7 @@
<td> <td>
<ul> <ul>
<li v-for="song in session.songs"> <li v-for="song in session.songs">
<a v-bind:href="'#/songs/' + song.title"> <a v-bind:href="'#/songs/' + song.id">
{{song.title}} {{song.title}}
</a> </a>
</li> </li>

@ -31,7 +31,7 @@
<tr v-for="song in songs"> <tr v-for="song in songs">
<td>{{song.id}}</td> <td>{{song.id}}</td>
<td> <td>
<a v-bind:name="'/songs/' + song.title"> <a v-bind:name="'/songs/' + song.id">
{{song.title}} {{song.title}}
</a> </a>
<br/> <br/>

Loading…
Cancel
Save