We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
checkRound
totalWorkRounds
1 parent 48945ef commit 1fdcdf6Copy full SHA for 1fdcdf6
src/renderer/components/timer/Timer-controller.vue
@@ -29,10 +29,12 @@ export default {
29
checkRound() {
30
if (this.currentRound === 'work' && this.round >= this.workRounds) {
31
this.$store.dispatch('setCurrentRound', 'long-break')
32
+ this.$store.dispatch('incrementTotalWorkRounds')
33
EventBus.$emit('ready-long-break')
34
console.log('long-break ready')
35
} else if (this.currentRound === 'work') {
36
this.$store.dispatch('setCurrentRound', 'short-break')
37
38
EventBus.$emit('ready-short-break')
39
console.log('short-break ready')
40
} else if (this.currentRound === 'short-break') {
0 commit comments