mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
add weight causes updating old chart instead of creating new chart, closes #53
This commit is contained in:
@@ -53,6 +53,10 @@ async function getNoteIdsWithAttribute(name) {
|
||||
}
|
||||
|
||||
async function createAttribute(noteId, name, value = "", sourceId = null) {
|
||||
if (value === null || value === undefined) {
|
||||
value = "";
|
||||
}
|
||||
|
||||
const now = utils.nowDate();
|
||||
const attributeId = utils.newAttributeId();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user