fix(calendar): make it once again possible to show more than one diplayedAttributes at a time.

Fixes #1747
This commit is contained in:
Romain DEP. 2025-04-18 21:13:03 +02:00
parent 8211fd36af
commit 4d8b40bfbd

View File

@ -186,7 +186,7 @@ export default class CalendarView extends ViewMode {
if (promotedAttributes) { if (promotedAttributes) {
let promotedAttributesHtml = ""; let promotedAttributesHtml = "";
for (const [name, value] of promotedAttributes) { for (const [name, value] of promotedAttributes) {
promotedAttributesHtml = /*html*/`\ promotedAttributesHtml = promotedAttributesHtml + /*html*/`\
<div class="promoted-attribute"> <div class="promoted-attribute">
<span class="promoted-attribute-name">${name}</span>: <span class="promoted-attribute-value">${value}</span> <span class="promoted-attribute-name">${name}</span>: <span class="promoted-attribute-value">${value}</span>
</div>`; </div>`;