@plasmicpkgs/plasmic-rich-components 1.0.83 → 1.0.84
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.
package/dist/index.js
CHANGED
|
@@ -1528,7 +1528,7 @@ function useRowSelectionProps(data, props) {
|
|
|
1528
1528
|
onRow: function (row) { return ({
|
|
1529
1529
|
onClick: function (event) {
|
|
1530
1530
|
var key = deriveKeyOfRow(row, deriveRowKey(data, rowKey));
|
|
1531
|
-
if (key) {
|
|
1531
|
+
if (key != null) {
|
|
1532
1532
|
if (canSelectRows === "click") {
|
|
1533
1533
|
// Some heuristics to avoid selecting a row when
|
|
1534
1534
|
// the object clicked is interactable -- like button, anchor,
|