mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
reddit notes will be created with "hide_in_autocomplete" attribute
This commit is contained in:
parent
2e8eeda5ab
commit
9bf1735bde
@ -38,6 +38,7 @@ async function getDateNoteIdForReddit(dateTimeStr, rootNoteId) {
|
|||||||
redditDateNoteId = await createNote(dateNoteId, "Reddit");
|
redditDateNoteId = await createNote(dateNoteId, "Reddit");
|
||||||
|
|
||||||
await attributes.createAttribute(redditDateNoteId, REDDIT_DATE_ATTRIBUTE, dateStr);
|
await attributes.createAttribute(redditDateNoteId, REDDIT_DATE_ATTRIBUTE, dateStr);
|
||||||
|
await attributes.createAttribute(redditDateNoteId, "hide_in_autocomplete");
|
||||||
}
|
}
|
||||||
|
|
||||||
return redditDateNoteId;
|
return redditDateNoteId;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user