diff --git a/client/pages/audiobook/_id/chapters.vue b/client/pages/audiobook/_id/chapters.vue
index c20a7d7f..f97c83f9 100644
--- a/client/pages/audiobook/_id/chapters.vue
+++ b/client/pages/audiobook/_id/chapters.vue
@@ -142,8 +142,11 @@
Chapter start is after the end of your audiobook
-
-
Apply Names Only
+
+
Map Chapter Titles
+
+ info
+
Apply Chapters
@@ -389,7 +392,16 @@ export default {
this.$toast.error('Failed to update chapters')
})
},
- applyChapterNamesOnly() {},
+ applyChapterNamesOnly() {
+ this.newChapters.forEach((chapter, index) => {
+ if (this.chapterData.chapters[index]) {
+ chapter.title = this.chapterData.chapters[index].title
+ }
+ })
+
+ this.showFindChaptersModal = false
+ this.chapterData = null
+ },
applyChapterData() {
var index = 0
this.newChapters = this.chapterData.chapters