@schneideress/dashboardframework 20.0.13 → 20.0.14

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.
@@ -5168,7 +5168,7 @@ class RADashboardArea {
5168
5168
  }
5169
5169
  this.gridheight = areaHeight;
5170
5170
  if (this.hasGrid) {
5171
- const baseHeight = this.gridItem.height; // gridster container current height
5171
+ const baseHeight = this.gridItem?.height; // gridster container current height
5172
5172
  if (baseHeight) {
5173
5173
  const effectiveCount = (this.widgetList.length % 2 === 1) ? this.widgetList.length + 1 : this.widgetList.length;
5174
5174
  const multiplier = Math.max(1, effectiveCount / 2);