@syncfusion/ej2-schedule 29.2.8 → 29.2.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -26447,7 +26447,13 @@ class AgendaBase extends ViewBase {
26447
26447
  moduleName: 'agenda',
26448
26448
  listClass: this.parent.activeView.viewClass,
26449
26449
  itemClass: this.parent.activeView.viewClass,
26450
- template: `<div class="${AGENDA_NO_EVENT_CLASS}">${this.parent.localeObj.getConstant('noEvents')}</div>`
26450
+ template: (data) => {
26451
+ const div = createElement('div', {
26452
+ className: AGENDA_NO_EVENT_CLASS,
26453
+ innerHTML: data.subject
26454
+ });
26455
+ return div;
26456
+ }
26451
26457
  });
26452
26458
  if (listElement.querySelector('.e-agenda-item').children.length === 0) {
26453
26459
  listElement.firstElementChild.appendChild(createElement('div', { className: AGENDA_NO_EVENT_CLASS, innerHTML: this.parent.localeObj.getConstant('noEvents') }));