|
|
|
@ -146,8 +146,8 @@
|
|
|
|
return false
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
handleCategoryChange(chosenCategory){
|
|
|
|
handleCategoryChange(chosenCategoryID){
|
|
|
|
this.practice_category_id = chosenCategory.id
|
|
|
|
this.practice_category_id = chosenCategoryID
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
mounted() {
|
|
|
|
mounted() {
|
|
|
|
@ -158,8 +158,8 @@
|
|
|
|
window.onbeforeunload = this.confirmClose
|
|
|
|
window.onbeforeunload = this.confirmClose
|
|
|
|
},
|
|
|
|
},
|
|
|
|
watch: {
|
|
|
|
watch: {
|
|
|
|
currentWorkingCategory(chosenCategory){
|
|
|
|
currentWorkingCategory(chosenCategoryID){
|
|
|
|
this.practice_category_id = chosenCategory.id
|
|
|
|
this.practice_category_id = chosenCategoryID
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@ -178,6 +178,7 @@
|
|
|
|
<button :disabled="running || totalSeconds === 0" @click="reset">Reset</button>
|
|
|
|
<button :disabled="running || totalSeconds === 0" @click="reset">Reset</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<form @submit="submit">
|
|
|
|
<form @submit="submit">
|
|
|
|
|
|
|
|
{{practice_category_id}}
|
|
|
|
<label>Description</label>
|
|
|
|
<label>Description</label>
|
|
|
|
<input v-model="description" type="text" maxlength="128"/>
|
|
|
|
<input v-model="description" type="text" maxlength="128"/>
|
|
|
|
|
|
|
|
|
|
|
|
|