grommet 2.19.0 → 2.19.1
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.
|
@@ -217,7 +217,7 @@ var Header = /*#__PURE__*/(0, _react.forwardRef)(function (_ref2, ref) {
|
|
|
217
217
|
});
|
|
218
218
|
}
|
|
219
219
|
|
|
220
|
-
if (groupBy.onSelect) {
|
|
220
|
+
if (groupBy != null && groupBy.onSelect) {
|
|
221
221
|
groupBy.onSelect(nextSelected, undefined, nextGroupSelected);
|
|
222
222
|
} else onSelect(nextSelected);
|
|
223
223
|
},
|
|
@@ -194,7 +194,7 @@ var Header = /*#__PURE__*/forwardRef(function (_ref2, ref) {
|
|
|
194
194
|
});
|
|
195
195
|
}
|
|
196
196
|
|
|
197
|
-
if (groupBy.onSelect) {
|
|
197
|
+
if (groupBy != null && groupBy.onSelect) {
|
|
198
198
|
groupBy.onSelect(nextSelected, undefined, nextGroupSelected);
|
|
199
199
|
} else onSelect(nextSelected);
|
|
200
200
|
},
|