From 7d275bdc2b9bf3e14cc5fdc47e0e5839f0a27744 Mon Sep 17 00:00:00 2001 From: Matthew Huntington Date: Wed, 28 Aug 2024 21:48:17 +0200 Subject: [PATCH] category chooser mostly works in timer --- src/components/timer.vue | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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 @@
+ {{practice_category_id}}