@syncfusion/ej2-layouts 27.1.48 → 27.1.51

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.
@@ -5555,10 +5555,10 @@ let Timeline = class Timeline extends Component {
5555
5555
  for (let index = 0; index < this.items.length; index++) {
5556
5556
  const item = this.items[parseInt(index.toString(), 10)];
5557
5557
  if (!haveContent) {
5558
- haveContent = item.content.length > 0;
5558
+ (haveContent = item.content.length > 0 || !isNullOrUndefined(item.content));
5559
5559
  }
5560
5560
  if (!haveOppContent) {
5561
- haveOppContent = item.oppositeContent.length > 0;
5561
+ (haveOppContent = item.oppositeContent.length > 0 || !isNullOrUndefined(item.content));
5562
5562
  }
5563
5563
  }
5564
5564
  this.element.classList.remove('e-content-only', 'e-opposite-content-only');