rc-tree-select
Advanced tools
Comparing version 5.1.1 to 5.1.2
@@ -181,13 +181,15 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
{ | ||
var _ref = (activeEntity === null || activeEntity === void 0 ? void 0 : activeEntity.node) || {}, | ||
selectable = _ref.selectable, | ||
value = _ref.value; | ||
if (activeEntity) { | ||
var _ref = (activeEntity === null || activeEntity === void 0 ? void 0 : activeEntity.node) || {}, | ||
selectable = _ref.selectable, | ||
value = _ref.value; | ||
if (selectable !== false) { | ||
onInternalSelect(null, { | ||
node: { | ||
key: activeKey | ||
}, | ||
selected: !checkedKeys.includes(value) | ||
}); | ||
if (selectable !== false) { | ||
onInternalSelect(null, { | ||
node: { | ||
key: activeKey | ||
}, | ||
selected: !checkedKeys.includes(value) | ||
}); | ||
} | ||
} | ||
@@ -194,0 +196,0 @@ |
@@ -203,13 +203,15 @@ "use strict"; | ||
{ | ||
var _ref = (activeEntity === null || activeEntity === void 0 ? void 0 : activeEntity.node) || {}, | ||
selectable = _ref.selectable, | ||
value = _ref.value; | ||
if (activeEntity) { | ||
var _ref = (activeEntity === null || activeEntity === void 0 ? void 0 : activeEntity.node) || {}, | ||
selectable = _ref.selectable, | ||
value = _ref.value; | ||
if (selectable !== false) { | ||
onInternalSelect(null, { | ||
node: { | ||
key: activeKey | ||
}, | ||
selected: !checkedKeys.includes(value) | ||
}); | ||
if (selectable !== false) { | ||
onInternalSelect(null, { | ||
node: { | ||
key: activeKey | ||
}, | ||
selected: !checkedKeys.includes(value) | ||
}); | ||
} | ||
} | ||
@@ -216,0 +218,0 @@ |
{ | ||
"name": "rc-tree-select", | ||
"version": "5.1.1", | ||
"version": "5.1.2", | ||
"description": "tree-select ui component for react", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2906
146395
77