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/index.js CHANGED
@@ -712,8 +712,7 @@ var BasicApartmentInfoFieldsSchema = {
712
712
  .string()
713
713
  .required(defaultRequiredMessage)
714
714
  .test("check-id", "Please select an metro station from the dropdown", function (value) {
715
- var id = this.parent.location.id;
716
- return !!id;
715
+ return !!this.parent.id;
717
716
  }),
718
717
  walkDistance: yup.number().required(defaultRequiredMessage),
719
718
  carDistance: yup.number().required(defaultRequiredMessage),