converting note properties to methods

This commit is contained in:
zadam
2021-05-18 20:56:49 +02:00
parent 2451596e8c
commit a093508fbe
8 changed files with 18 additions and 13 deletions

View File

@@ -17,7 +17,7 @@ class NoteBuilder {
}
label(name, value = '', isInheritable = false) {
new Attribute(becca, {
new Attribute({
attributeId: id(),
noteId: this.note.noteId,
type: 'label',
@@ -30,7 +30,7 @@ class NoteBuilder {
}
relation(name, targetNote) {
new Attribute(becca, {
new Attribute({
attributeId: id(),
noteId: this.note.noteId,
type: 'relation',