Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix(calendar): make it once again possible to show more than one `diplayedAttributes` at a time. Fixes #1747
Romain DEP.4d8b40bfbda4
diff --git a/src/public/app/widgets/view_widgets/calendar_view.ts b/src/public/app/widgets/view_widgets/calendar_view.tsindex 3ffc43d74d..fdc693dc19 100644--- a/src/public/app/widgets/view_widgets/calendar_view.ts+++ b/src/public/app/widgets/view_widgets/calendar_view.ts@@ -186,7 +186,7 @@ export default class CalendarView extends ViewMode {if (promotedAttributes) {let promotedAttributesHtml = "";for (const [name, value] of promotedAttributes) {- promotedAttributesHtml = /*html*/`\+ promotedAttributesHtml = promotedAttributesHtml + /*html*/`\<div class="promoted-attribute"><span class="promoted-attribute-name">${name}</span>: <span class="promoted-attribute-value">${value}</span></div>`;