kui-crm 0.0.169 → 0.0.170
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/cjs/index.js +4 -1
- package/cjs/index.js.map +1 -1
- package/index.js +4 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
package/cjs/index.js
CHANGED
|
@@ -2727,7 +2727,10 @@ var getMeterFeaturesFieldsSchema = function (valuesFields, isReplacementRequired
|
|
|
2727
2727
|
name: yup__namespace.string().nullable(),
|
|
2728
2728
|
})
|
|
2729
2729
|
.when("noTariff", {
|
|
2730
|
-
is: function (value) {
|
|
2730
|
+
is: function (value) {
|
|
2731
|
+
console.log("noTariff", value);
|
|
2732
|
+
return !value;
|
|
2733
|
+
},
|
|
2731
2734
|
then: function (rule) {
|
|
2732
2735
|
return rule.shape({
|
|
2733
2736
|
name: yup__namespace.string().required(defaultRequiredMessage),
|