Skip to content

Commit

Permalink
Added totalWorkRounds to the interface footer
Browse files Browse the repository at this point in the history
  • Loading branch information
mihaiconstantin committed May 16, 2020
1 parent 1fdcdf6 commit 780e059
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/renderer/components/timer/Timer-footer.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<section class="Container Footer">
<div class="Round-wrapper">
<p>{{ round + '/' + workRounds }}</p>
<p>{{ round + '/' + workRounds }} <span v-if="totalWorkRounds > 0" class="Total-rounds">({{ totalWorkRounds }})</span></p>
<p
class="TextButton"
@click="callForReset"
Expand Down Expand Up @@ -150,6 +150,10 @@ export default {
return this.$store.getters.workRounds
},
totalWorkRounds() {
return this.$store.getters.totalWorkRounds
},
volume() {
return this.$store.getters.volume
}
Expand Down Expand Up @@ -253,6 +257,11 @@ export default {
.Round-wrapper {
text-align: center;
.Total-rounds {
color: #858c99;
font-size: .7rem;
}
}
.Slider-wrapper {
Expand Down

0 comments on commit 780e059

Please sign in to comment.