show songs practiced

practiced-songs
Matthew Huntington 6 months ago
parent 225c9d5e20
commit 1efb99d2a0

@ -31,26 +31,26 @@
<table>
<thead>
<tr>
<th>id</th>
<th>description</th>
<th>seconds</th>
<th>duration</th>
<th>songs</th>
<th>comments</th>
<th>created at</th>
<th>category id</th>
<th>category</th>
<th>instrument</th>
</tr>
</thead>
<tbody>
<tr v-for="session in categorySessions">
<td>{{session.id}}</td>
<td @click="copy">{{session.description}}</td>
<td @click="copy">{{formatSeconds(session.seconds)}}</td>
<td>
<ul>
<li v-for="song in session.songs">
{{song.title}}
</li>
</ul>
</td>
<td @click="copy">{{session.comments}}</td>
<td>{{session.created_at}}</td>
<td>{{session.category_id}}</td>
<td>{{session.category}}</td>
<td>{{session.instrument}}</td>
<td>{{new Date(session.created_at).toLocaleString("en-US")}}</td>
</tr>
</tbody>
</table>

Loading…
Cancel
Save