mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
deleting attributes, closes #34
This commit is contained in:
@@ -24,7 +24,7 @@ class Note extends Entity {
|
||||
}
|
||||
|
||||
async getAttributes() {
|
||||
return this.repository.getEntities("SELECT * FROM attributes WHERE noteId = ?", [this.noteId]);
|
||||
return this.repository.getEntities("SELECT * FROM attributes WHERE noteId = ? AND isDeleted = 0", [this.noteId]);
|
||||
}
|
||||
|
||||
async getAttribute(name) {
|
||||
|
||||
Reference in New Issue
Block a user