loggin hours works again

practiced-songs
Matthew Huntington 1 year ago
parent ab6a9425d0
commit 8aaa97fbb8

@ -39,7 +39,7 @@
const reqBody = {
description:this.description,
seconds: this.totalSeconds,
practice_category_id: this.practice_category_id
practice_category_id: this.currentWorkingCategory.id
}
if(this.comments){
@ -150,9 +150,6 @@
return false
}
},
handleCategoryChange(chosenCategoryID){
this.practice_category_id = chosenCategoryID
}
},
mounted() {
this.practice_category_id = this.currentWorkingCategory.id
@ -161,11 +158,6 @@
this.savedPreviousSeconds = this.totalSeconds
window.onbeforeunload = this.confirmClose
},
watch: {
currentWorkingCategory(chosenCategory){
this.practice_category_id = chosenCategory.id
}
}
}
</script>

Loading…
Cancel
Save