test(calendar): relation as custom title with attribute label

This commit is contained in:
Elian Doran
2025-02-28 20:11:45 +02:00
parent ca7cff45c9
commit f953f6514f
4 changed files with 23 additions and 1 deletions

View File

@@ -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());
}