mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-12 20:31:36 +00:00
Fix custom time for sleep timer
This commit is contained in:
parent
0f35e72b78
commit
7595682245
1 changed files with 5 additions and 1 deletions
|
|
@ -123,7 +123,11 @@ export default {
|
|||
}
|
||||
|
||||
const timeInSeconds = Math.round(Number(this.customTime) * 60)
|
||||
this.setTime(timeInSeconds)
|
||||
const time = {
|
||||
seconds: timeInSeconds,
|
||||
timerType: this.$constants.SleepTimerTypes.COUNTDOWN
|
||||
}
|
||||
this.setTime(time)
|
||||
},
|
||||
setTime(time) {
|
||||
this.$emit('set', time)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue