@zat-design/sisyphus-react 3.4.5-beta.15 → 3.4.5-beta.17
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.
|
@@ -96,6 +96,9 @@ export var getDisabled = function getDisabled(_ref2) {
|
|
|
96
96
|
params = _ref2.params,
|
|
97
97
|
rowDisabled = _ref2.rowDisabled;
|
|
98
98
|
var convertToBoolean = function convertToBoolean(value) {
|
|
99
|
+
if (Array.isArray(value)) {
|
|
100
|
+
return value;
|
|
101
|
+
}
|
|
99
102
|
if (value === null || value === undefined || value === '') {
|
|
100
103
|
return false;
|
|
101
104
|
}
|
|
@@ -103,6 +103,9 @@ var getDisabled = exports.getDisabled = function getDisabled(_ref2) {
|
|
|
103
103
|
params = _ref2.params,
|
|
104
104
|
rowDisabled = _ref2.rowDisabled;
|
|
105
105
|
var convertToBoolean = function convertToBoolean(value) {
|
|
106
|
+
if (Array.isArray(value)) {
|
|
107
|
+
return value;
|
|
108
|
+
}
|
|
106
109
|
if (value === null || value === undefined || value === '') {
|
|
107
110
|
return false;
|
|
108
111
|
}
|