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