diff --git a/src/components/timer.vue b/src/components/timer.vue index a5cab6c..45b8578 100644 --- a/src/components/timer.vue +++ b/src/components/timer.vue @@ -33,7 +33,10 @@ totalSeconds:0, description:'', practice_category_id:0, - comments:'' + comments:'', + manualHours:0, + manualMinutes:0, + manualSeconds:0 } }, methods: { @@ -81,6 +84,10 @@ reset(event){ this.savedPreviousSeconds = 0; this.totalSeconds = 0; + }, + setSecondsManually(){ + this.totalSeconds = this.manualHours*60*60 + this.manualMinutes*60 + this.manualSeconds; + console.log(this.manualHours, this.manualMinutes, this.manualSeconds); } }, mounted() { @@ -122,6 +129,13 @@ + + + + + + +