kui-crm_actions 0.0.139 → 0.0.140

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 CHANGED
@@ -741,8 +741,7 @@ var BasicApartmentInfoFieldsSchema = {
741
741
  .string()
742
742
  .required(kuiCrm.defaultRequiredMessage)
743
743
  .test("check-id", "Please select an metro station from the dropdown", function (value) {
744
- var id = this.parent.location.id;
745
- return !!id;
744
+ return !!this.parent.id;
746
745
  }),
747
746
  walkDistance: yup__namespace.number().required(kuiCrm.defaultRequiredMessage),
748
747
  carDistance: yup__namespace.number().required(kuiCrm.defaultRequiredMessage),