mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-06-22 21:33:38 +02:00
Update sleep timer modal to not show negative time remaining
This commit is contained in:
parent
4b4a2b46c1
commit
b6ab7dc8a7
1 changed files with 1 additions and 0 deletions
|
@ -85,6 +85,7 @@ export default {
|
|||
return [5, 10, 15, 30, 45, 60, 90]
|
||||
},
|
||||
timeRemainingPretty() {
|
||||
if (this.currentTime <= 0) return '0:00'
|
||||
return this.$secondsToTimestamp(this.currentTime)
|
||||
},
|
||||
isIos() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue