mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
attachment upload and download now works for browser
This commit is contained in:
@@ -13,7 +13,7 @@ const BUILTIN_ATTRIBUTES = [
|
||||
];
|
||||
|
||||
async function getNoteAttributeMap(noteId) {
|
||||
return await sql.getMap(`SELECT name, value FROM attributes WHERE noteId = ?`, [noteId]);
|
||||
return await sql.getMap(`SELECT name, value FROM attributes WHERE noteId = ? AND isDeleted = 0`, [noteId]);
|
||||
}
|
||||
|
||||
async function getNoteIdWithAttribute(name, value) {
|
||||
|
||||
Reference in New Issue
Block a user