@wolkabout/commons 0.2.7 → 0.2.8

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.
@@ -6026,6 +6026,9 @@ class StandardListViewComponent {
6026
6026
  dataControl.changeSelection$.pipe(takeUntilDestroyed(destroyRef)).subscribe((id) => {
6027
6027
  const items = this.filteredItems();
6028
6028
  const newSelection = items.find(item => item.id === id) ?? items[0];
6029
+ if (!newSelection) {
6030
+ return;
6031
+ }
6029
6032
  this.selectItems(newSelection);
6030
6033
  });
6031
6034
  dataControl.itemAdded$.pipe(map((item) => dataSource.prepareItem(item)), takeUntilDestroyed(destroyRef)).subscribe((item) => {