submit/reset timer clears manual inputs

practiced-songs
Matthew Huntington 1 year ago
parent 43db528fa9
commit c61458e64d

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

Loading…
Cancel
Save