|
|
@@ -46,8 +46,8 @@ function onMetaChange(data: ReportMetadataItem[]) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-function onChapterTypeSelected(type: ChapterType) {
|
|
|
- chapterManager.addChapter(type);
|
|
|
+function onChapterTypeSelected(types: ChapterType[]) {
|
|
|
+ chapterManager.addChapters(types);
|
|
|
}
|
|
|
|
|
|
function onChapterChange(index: number, data: Chapter) {
|