|
|
|
|
@ -14,8 +14,8 @@
|
|
|
|
|
const instruments = ref([])
|
|
|
|
|
const categories = ref([])
|
|
|
|
|
|
|
|
|
|
const updateCurrentWorkingCategoryID = (category) =>{
|
|
|
|
|
currentWorkingCategory.value = category
|
|
|
|
|
const updateCurrentWorkingCategory = (summarizedCategory) =>{
|
|
|
|
|
currentWorkingCategory.value = categories.value.find(category => category.id === summarizedCategory.category_id)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const refreshPage = (session) => {
|
|
|
|
|
@ -47,7 +47,7 @@
|
|
|
|
|
-->
|
|
|
|
|
</section>
|
|
|
|
|
<section id="summary">
|
|
|
|
|
<Summary ref="summaryRef" @update="updateCurrentWorkingCategoryID"/>
|
|
|
|
|
<Summary ref="summaryRef" @update="updateCurrentWorkingCategory"/>
|
|
|
|
|
</section>
|
|
|
|
|
<section id="category">
|
|
|
|
|
<ShowCategory
|
|
|
|
|
|