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(){