ywana-core8 0.0.545 → 0.0.546

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.
@@ -5430,13 +5430,14 @@ var CollectionTree = function CollectionTree(props) {
5430
5430
  label: title,
5431
5431
  open: true
5432
5432
  }, node.nodes ? renderNodes(node.nodes) : node.items.map(function (item) {
5433
+ var selected = pageContext.selected && item.id === pageContext.selected.id;
5433
5434
  return /*#__PURE__*/React.createElement(TreeItem, {
5434
5435
  icon: icon,
5435
5436
  key: item.id,
5436
5437
  id: item.id,
5437
5438
  label: item.name,
5438
5439
  onSelect: select,
5439
- selected: item.id === pageContext.selected
5440
+ selected: selected
5440
5441
  }, "item");
5441
5442
  }));
5442
5443
  });