From 1def5795cad9ad6c17303b19442aeafaca095886 Mon Sep 17 00:00:00 2001 From: Matt Huntington Date: Fri, 24 Nov 2023 13:10:18 -0500 Subject: [PATCH] reset seconds to subtract appropriately --- src/components/timer.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/timer.vue b/src/components/timer.vue index ba359fe..67b847d 100644 --- a/src/components/timer.vue +++ b/src/components/timer.vue @@ -68,6 +68,7 @@ this.totalSeconds = 0; this.savedPreviousSeconds = 0; this.comments = null; + this.secondsToSubtract = 0; }); }, @@ -109,6 +110,7 @@ setSecondsManually(){ this.totalSeconds = this.manualHours*60*60 + this.manualMinutes*60 + this.manualSeconds; this.savedPreviousSeconds = this.totalSeconds; + this.secondsToSubtract = 0; window.localStorage.setItem('lastTotalSeconds', this.totalSeconds); } },