mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-06-03 05:34:26 -04:00
fix shift times not works when editing
This commit is contained in:
parent
a2dc76e190
commit
38957d4f32
@ -341,8 +341,8 @@ export default {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.newChapters[0].end + amount <= 0) {
|
if (this.newChapters[1].start + amount <= 0) {
|
||||||
this.$toast.error('Invalid shift amount. First chapter would have zero or negative length.')
|
this.$toast.error('Invalid shift amount. The first chapter would have zero or negative length and would be overwritten by the second chapter. Increase the start duration of second chapter. ')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user