timer category chooser changes correctly

practiced-songs
Matthew Huntington 1 year ago
parent 88f5185d4e
commit aa21ecb6f5

@ -158,8 +158,8 @@
window.onbeforeunload = this.confirmClose window.onbeforeunload = this.confirmClose
}, },
watch: { watch: {
currentWorkingCategory(chosenCategoryID){ currentWorkingCategory(chosenCategory){
this.practice_category_id = chosenCategoryID this.practice_category_id = chosenCategory.id
} }
} }
} }
@ -178,7 +178,6 @@
<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"/>

Loading…
Cancel
Save