mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-27 22:04:08 +02:00
Update sleep timer modal to not show negative time remaining
This commit is contained in:
@@ -85,6 +85,7 @@ export default {
|
|||||||
return [5, 10, 15, 30, 45, 60, 90]
|
return [5, 10, 15, 30, 45, 60, 90]
|
||||||
},
|
},
|
||||||
timeRemainingPretty() {
|
timeRemainingPretty() {
|
||||||
|
if (this.currentTime <= 0) return '0:00'
|
||||||
return this.$secondsToTimestamp(this.currentTime)
|
return this.$secondsToTimestamp(this.currentTime)
|
||||||
},
|
},
|
||||||
isIos() {
|
isIos() {
|
||||||
|
|||||||
Reference in New Issue
Block a user