@longline/aqua-ui 1.0.312 → 1.0.313

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.
@@ -370,7 +370,7 @@ var DropdownBase = function (props) {
370
370
  var activeIndex = (props.data || []).indexOf(value);
371
371
  return (props.data || []).map(function (row, index) {
372
372
  return (React.createElement(ListRow, { active: index == activeIndex, key: index + 1, gap: props.gap, onClick: function (e) { return handleClick(e, row); } },
373
- props.multiple && React.createElement(Selector, { locked: true, checked: Array.isArray(value) && value.find(function (x) { return match(x, row); }) }),
373
+ props.multiple && React.createElement(Selector, { locked: true, checked: Array.isArray(value) && value.some(function (x) { return match(x, row); }) }),
374
374
  columns.map(function (child, index) {
375
375
  return (React.createElement(ListCell, { key: index, width: child.props.width, align: child.props.align }, row !== null && child.props.children(row)));
376
376
  })));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@longline/aqua-ui",
3
- "version": "1.0.312",
3
+ "version": "1.0.313",
4
4
  "description": "AquaUI",
5
5
  "author": "Alexander van Oostenrijk / Longline Environment",
6
6
  "license": "Commercial",