Merge pull request #1748 from rom1dep/fix_multi_displayedAttributes

fix(calendar): make it once again possible to show more than one `diplayedAttributes` at a time.
This commit is contained in:
Elian Doran 2025-04-18 22:38:15 +03:00 committed by GitHub
commit 8c3879af5c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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>`;