Skip to content

Commit

Permalink
fix: #6 after goldenscore time stays at 1min
Browse files Browse the repository at this point in the history
  • Loading branch information
marikaris committed Sep 22, 2024
1 parent 58d46dc commit f429751
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/TimeBanner.vue
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,10 @@ export default defineComponent({
type: Boolean,
default: true
},
maxTime: Number
maxTime: {
type: Number,
required: true
}
},
emits: ['resetAll', 'reset'],
data() {
Expand Down Expand Up @@ -92,6 +95,7 @@ export default defineComponent({
},
resetAll() {
this.goldenScore = false
this.maximumTime = this.maxTime
;(this.$refs.pinTimer as any).clearPrev()
;(this.$refs.pinTimer as any).resetTime()
this.resetTime()
Expand Down

0 comments on commit f429751

Please sign in to comment.