|
|
|
|
@ -12,6 +12,9 @@
|
|
|
|
|
axios.get(import.meta.env.VITE_PRACTICE_TRACKER_API_URL+'show-category/'+event.target.value).then((response)=>{
|
|
|
|
|
this.categorySessions = response.data;
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
copy(event){
|
|
|
|
|
navigator.clipboard.writeText(event.target.innerHTML);
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
mounted() {
|
|
|
|
|
@ -48,9 +51,9 @@
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr v-for="session in categorySessions">
|
|
|
|
|
<td>{{session.id}}</td>
|
|
|
|
|
<td>{{session.description}}</td>
|
|
|
|
|
<td>{{session.seconds}}</td>
|
|
|
|
|
<td>{{session.comments}}</td>
|
|
|
|
|
<td @click="copy">{{session.description}}</td>
|
|
|
|
|
<td @click="copy">{{session.seconds}}</td>
|
|
|
|
|
<td @click="copy">{{session.comments}}</td>
|
|
|
|
|
<td>{{session.created_at}}</td>
|
|
|
|
|
<td>{{session.category_id}}</td>
|
|
|
|
|
<td>{{session.category}}</td>
|
|
|
|
|
|