diff --git a/src/components/CourseEditor.vue b/src/components/CourseEditor.vue
index 388f5fd..8d0df94 100644
--- a/src/components/CourseEditor.vue
+++ b/src/components/CourseEditor.vue
@@ -1,105 +1,106 @@
.CourseEditor
h2 Change course's title
br
WTLInput.CourseEditor__title(
v-model="newCourse.title"
)
br
br
h2 Change chapter order by dragging them
hr
VueDraggable.CourseEditor__chapters(
+ v-if="newCourse.chapters"
v-model="newCourse.chapters"
@start="drag=true"
@end="drag=false"
)
.CourseEditor__chapter(
v-for="chapter in newCourse.chapters"
:key="chapter._id"
) {{ chapter.title }}
br
h2 Insert new chapter
br
WTLInput.CourseEditor__new-chapter(
v-model="newChapter.title"
placeholder="Chapter's title"
)
br
WTLButton(
@click="pushChanges"
icon="done"
type="success"
) Confirm changes