|
|
@ -19,7 +19,11 @@ |
|
|
|
so you can still read it (or back it up) before leaving the page. |
|
|
|
</p> |
|
|
|
</annotation> |
|
|
|
<chapter for(chapter in state.story.chapters) key=chapter.id chapter=chapter user=(!state.removed ? input.user : null) on-edit("updateChapter", chapter.id) on-remove("removeChapter", chapter.id) on-move("moveChapter", chapter) /> |
|
|
|
<chapter for(chapter in state.story.chapters) key=chapter.id |
|
|
|
chapter=chapter |
|
|
|
user=(!state.removed ? input.user : null) |
|
|
|
hideTitle=(state.story.chapters[0] === chapter && chapter.title === state.story.name) |
|
|
|
on-edit("updateChapter", chapter.id) on-remove("removeChapter", chapter.id) on-move("moveChapter", chapter) /> |
|
|
|
</div> |
|
|
|
|
|
|
|
<create-chapter-modal storyId=state.story.id enabled=(state.modal === "chapter.add") chapter=input.chapter on-close("close") on-add("addChapter") /> |
|
|
|