@c8y/ngx-components 1018.0.186 → 1018.0.190

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.
@@ -1705,7 +1705,7 @@ class ContextDashboardComponent {
1705
1705
  const config = child.config || {};
1706
1706
  const dataPoints = config.datapoints || [];
1707
1707
  return !((config.device && config.device.id !== this.context.id) ||
1708
- some(dataPoints, dataPoint => dataPoint.__target.id !== this.context.id));
1708
+ some(dataPoints, dataPoint => dataPoint.__target?.id !== this.context.id));
1709
1709
  });
1710
1710
  return allDashboardChildrenAreValid;
1711
1711
  }