@syncfusion/ej2-layouts 27.1.50 → 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.
@@ -5668,10 +5668,10 @@ var Timeline = /** @__PURE__ @class */ (function (_super) {
5668
5668
  for (var index = 0; index < this.items.length; index++) {
5669
5669
  var item = this.items[parseInt(index.toString(), 10)];
5670
5670
  if (!haveContent) {
5671
- haveContent = item.content.length > 0;
5671
+ (haveContent = item.content.length > 0 || !isNullOrUndefined(item.content));
5672
5672
  }
5673
5673
  if (!haveOppContent) {
5674
- haveOppContent = item.oppositeContent.length > 0;
5674
+ (haveOppContent = item.oppositeContent.length > 0 || !isNullOrUndefined(item.content));
5675
5675
  }
5676
5676
  }
5677
5677
  this.element.classList.remove('e-content-only', 'e-opposite-content-only');