cssClass is correctly filled for new note

This commit is contained in:
azivner
2018-09-01 13:18:55 +02:00
parent bc38172792
commit 792039227f
4 changed files with 29 additions and 9 deletions

View File

@@ -26,6 +26,8 @@ async function createNote(req) {
const { note, branch } = await noteService.createNewNote(parentNoteId, newNote, req);
note.cssClass = (await note.getLabels("cssClass")).map(label => label.value).join(" ");
return {
note,
branch