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); } },