From c61458e64de7f9f4c3e447ddde633748e55ad3e6 Mon Sep 17 00:00:00 2001 From: Matthew Huntington Date: Thu, 19 Dec 2024 14:56:41 -0500 Subject: [PATCH] submit/reset timer clears manual inputs --- src/components/timer.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/components/timer.vue b/src/components/timer.vue index c877a1e..d75344a 100644 --- a/src/components/timer.vue +++ b/src/components/timer.vue @@ -69,6 +69,9 @@ this.savedPreviousSeconds = 0; this.comments = null; this.secondsToSubtract = 0; + this.manualHours = 0 + this.manualMinutes = 0 + this.manualSeconds = 0 window.localStorage.setItem('lastTotalSeconds', this.totalSeconds); this.$emit('loggedTime', reqBody) }); @@ -126,6 +129,9 @@ this.savedPreviousSeconds = 0; this.totalSeconds = 0; this.secondsToSubtract = 0; + this.manualHours = 0 + this.manualMinutes = 0 + this.manualSeconds = 0 window.localStorage.setItem('lastTotalSeconds', this.totalSeconds); }, setSecondsManually(){