mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 19:05:59 +01:00
correct handling of inclusion of dependencies
This commit is contained in:
@@ -23,6 +23,10 @@ class Note extends Entity {
|
||||
return this.type === "code" && this.mime === "application/json";
|
||||
}
|
||||
|
||||
isJavaScript() {
|
||||
return this.type === "code" && this.mime === "application/javascript";
|
||||
}
|
||||
|
||||
async getAttributes() {
|
||||
return this.repository.getEntities("SELECT * FROM attributes WHERE noteId = ? AND isDeleted = 0", [this.noteId]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user