From a1074e69ac2addcfbb4ab3696587326fb2f20285 Mon Sep 17 00:00:00 2001 From: Vito0912 <86927734+Vito0912@users.noreply.github.com> Date: Sun, 27 Apr 2025 19:51:56 +0200 Subject: [PATCH] Fixed crash --- client/pages/audiobook/_id/chapters.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/pages/audiobook/_id/chapters.vue b/client/pages/audiobook/_id/chapters.vue index 3c6fe476..085b1584 100644 --- a/client/pages/audiobook/_id/chapters.vue +++ b/client/pages/audiobook/_id/chapters.vue @@ -337,12 +337,12 @@ export default { const lastChapter = this.newChapters[this.newChapters.length - 1] if (lastChapter.start + amount > this.mediaDurationRounded) { - this.$toast.error($strings.ToastInvalidShiftAmountLast) + this.$toast.error(this.$strings.ToastInvalidShiftAmountLast) return } if (this.newChapters[1].start + amount <= 0) { - this.$toast.error($strings.ToastInvalidShiftAmountStart) + this.$toast.error(this.$strings.ToastInvalidShiftAmountStart) return }