setup cssClass for both note tab and content, #524

This commit is contained in:
zadam
2019-05-13 22:08:06 +02:00
parent 93c0469aa0
commit 79d779dee8
4 changed files with 25 additions and 7 deletions

View File

@@ -20,6 +20,8 @@ async function getNote(req) {
}
}
note.cssClass = (await note.getLabels("cssClass")).map(label => label.value).join(" ");
return note;
}