diff --git a/src/components/timer.vue b/src/components/timer.vue index 9222b91..8f208b6 100644 --- a/src/components/timer.vue +++ b/src/components/timer.vue @@ -146,8 +146,8 @@ return false } }, - handleCategoryChange(chosenCategory){ - this.practice_category_id = chosenCategory.id + handleCategoryChange(chosenCategoryID){ + this.practice_category_id = chosenCategoryID } }, mounted() { @@ -158,8 +158,8 @@ window.onbeforeunload = this.confirmClose }, watch: { - currentWorkingCategory(chosenCategory){ - this.practice_category_id = chosenCategory.id + currentWorkingCategory(chosenCategoryID){ + this.practice_category_id = chosenCategoryID } } } @@ -178,6 +178,7 @@