kui-crm 0.0.232 → 0.0.233

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
@@ -3566,7 +3566,7 @@ function MeterFeaturesFields(props) {
3566
3566
  var formBottomProps = props.formBottomProps, defaultValues = props.defaultValues, withNextCheck = props.withNextCheck;
3567
3567
  var _a = React.useState(false), disableOperatingAccount = _a[0], setDisableOperatingAccount = _a[1];
3568
3568
  var withMeterType = resource === "water" || resource === "electricity";
3569
- var tariffFilter = "".concat(apartmentId ? "&for_apartment=".concat(apartmentId) : "").concat(withMeterType && meterType ? "&type=".concat(meterType) : "");
3569
+ var tariffFilter = "".concat(apartmentId && resource !== "water" ? "&for_apartment=".concat(apartmentId) : "").concat(withMeterType && meterType ? "&type=".concat(meterType) : "");
3570
3570
  var handleCompanyChange = function (company) {
3571
3571
  if (!operatingAccount && company.id === (administrativeCompany === null || administrativeCompany === void 0 ? void 0 : administrativeCompany.id)) {
3572
3572
  form.setValue("operationalAccountNumber", administrativeCompany === null || administrativeCompany === void 0 ? void 0 : administrativeCompany.operatingAccount);