mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 11:26:15 +01:00
converting note properties to methods
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user