From 8ba1b28700165de1392610b5a71dc726debebb26 Mon Sep 17 00:00:00 2001 From: Matthew Huntington Date: Thu, 26 Oct 2023 17:50:42 -0400 Subject: [PATCH] manually change time and then start timer works now --- src/components/timer.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/timer.vue b/src/components/timer.vue index 8d1023a..225a5a0 100644 --- a/src/components/timer.vue +++ b/src/components/timer.vue @@ -88,6 +88,7 @@ }, setSecondsManually(){ this.totalSeconds = this.manualHours*60*60 + this.manualMinutes*60 + this.manualSeconds; + this.savedPreviousSeconds = this.totalSeconds; window.localStorage.setItem('lastTotalSeconds', this.totalSeconds); } },