@@ -45,7 +63,10 @@ export default {
currentEndOfChapterTime: Number
},
data() {
- return {}
+ return {
+ manualTimerModal: null,
+ manualTimeoutMin: 0,
+ }
},
computed: {
show: {
@@ -57,7 +78,7 @@ export default {
}
},
timeouts() {
- return [1, 5, 10, 15, 30, 45, 60, 90]
+ return [5, 10, 15, 30, 45, 60, 90]
},
timeRemainingPretty() {
return this.$secondsToTimestamp(this.currentTime)
@@ -71,6 +92,7 @@ export default {
clickedOption(timeoutMin) {
var timeout = timeoutMin * 1000 * 60
this.show = false
+ this.manualTimerModal = false
this.$nextTick(() => this.$emit('change', { time: timeout, isChapterTime: false }))
},
cancelSleepTimer() {