From a0bcfb8c3c2e64f10908913a0caae9a3d1153324 Mon Sep 17 00:00:00 2001 From: Matthew Huntington Date: Sat, 24 Aug 2024 18:41:25 +0200 Subject: [PATCH] logging time updates summary --- src/App.vue | 10 ++++++++-- src/components/summary.vue | 4 +++- src/components/timer.vue | 2 ++ 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/src/App.vue b/src/App.vue index bae90b1..b1f1280 100644 --- a/src/App.vue +++ b/src/App.vue @@ -8,9 +8,15 @@ import Status from './components/status.vue' const currentWorkingCategoryID = ref(1) + const summaryRef = ref(null); + const updateCurrentWorkingCategoryID = (id) =>{ currentWorkingCategoryID.value = id } + + const refreshPage = () => { + summaryRef.value.loadData() + } @@ -18,10 +24,10 @@
- +
- +
diff --git a/src/components/summary.vue b/src/components/summary.vue index 88a806b..84f3268 100644 --- a/src/components/summary.vue +++ b/src/components/summary.vue @@ -1,5 +1,5 @@