diff --git a/gdn-app/src/components/CNote.vue b/gdn-app/src/components/CNote.vue index a9c76dd..f5ac5de 100644 --- a/gdn-app/src/components/CNote.vue +++ b/gdn-app/src/components/CNote.vue @@ -75,6 +75,15 @@ function onClick() { toggleOpen(); } + +function onCreatorClose() { + creating.value = false; +} + +function onCreatorFinish(text: string) { + notes.appendNewChildNote(props.noteId, text); + onCreatorClose(); +}