mirror of
https://github.com/zadam/trilium.git
synced 2024-09-22 08:36:10 +08: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…
Reference in a new issue