note type context submenu now works end to end

This commit is contained in:
zadam
2019-03-17 12:19:23 +01:00
parent 177caec011
commit 33f2aaa650
6 changed files with 61 additions and 49 deletions

View File

@@ -74,7 +74,8 @@ class Note extends Entity {
}
if (this.isStringNote()) {
this.noteContent.content = this.noteContent.content.toString("UTF-8");
this.noteContent.content = this.noteContent.content === null
? "" : this.noteContent.content.toString("UTF-8");
}
}