|
|
|
|
@ -4,6 +4,7 @@
|
|
|
|
|
import { onMounted, ref, watch, defineProps } from 'vue'
|
|
|
|
|
import {
|
|
|
|
|
description,
|
|
|
|
|
comments,
|
|
|
|
|
currentWorkingCategory,
|
|
|
|
|
currentWorkingInstrument
|
|
|
|
|
} from '../libs/state.js'
|
|
|
|
|
@ -14,6 +15,10 @@
|
|
|
|
|
description.value = event.target.innerText
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const copyComments = (event) => {
|
|
|
|
|
comments.value = event.target.innerText
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
onMounted(()=>{
|
|
|
|
|
loadCategory()
|
|
|
|
|
window.addEventListener('keydown', (event)=>{
|
|
|
|
|
@ -51,7 +56,7 @@
|
|
|
|
|
<tbody>
|
|
|
|
|
<tr v-for="session in categorySessions">
|
|
|
|
|
<td @click="copy">{{session.description}}</td>
|
|
|
|
|
<td>{{session.comments}}</td>
|
|
|
|
|
<td @click="copyComments">{{session.comments}}</td>
|
|
|
|
|
<td>
|
|
|
|
|
<ul>
|
|
|
|
|
<li v-for="song in session.songs">
|
|
|
|
|
|