diff --git a/src/components/timer.vue b/src/components/timer.vue index 7a93d74..7c713f4 100644 --- a/src/components/timer.vue +++ b/src/components/timer.vue @@ -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 - } - } }