mirror of
https://github.com/zadam/trilium.git
synced 2025-11-17 10:40:41 +01:00
test(calendar): relation as custom title with attribute label
This commit is contained in:
@@ -419,6 +419,7 @@ export default class CalendarView extends ViewMode {
|
||||
|
||||
for (const targetNote of notesFromRelation) {
|
||||
const targetCustomTitleValue = targetNote.getAttributeValue("label", "calendar:title");
|
||||
console.log("Parse custom title for ", targetNote.noteId, targetNote.getAttributes(), targetNote.getOwnedAttributes());
|
||||
const targetTitles = await CalendarView.#parseCustomTitle(targetCustomTitleValue, targetNote, false);
|
||||
titles.push(targetTitles.flat());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user