From aa21ecb6f58ccebb6e999828b87e413732f3cb14 Mon Sep 17 00:00:00 2001 From: Matthew Huntington Date: Wed, 28 Aug 2024 22:03:13 +0200 Subject: [PATCH] timer category chooser changes correctly --- src/components/timer.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/timer.vue b/src/components/timer.vue index 8f208b6..c4b0bcb 100644 --- a/src/components/timer.vue +++ b/src/components/timer.vue @@ -158,8 +158,8 @@ window.onbeforeunload = this.confirmClose }, watch: { - currentWorkingCategory(chosenCategoryID){ - this.practice_category_id = chosenCategoryID + currentWorkingCategory(chosenCategory){ + this.practice_category_id = chosenCategory.id } } } @@ -178,7 +178,6 @@
- {{practice_category_id}}