From 8aaa97fbb8c837b785ca61f75f445028458b0065 Mon Sep 17 00:00:00 2001 From: Matthew Huntington Date: Sun, 1 Sep 2024 22:39:51 -0400 Subject: [PATCH] loggin hours works again --- src/components/timer.vue | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) 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 - } - } }