kui-crm 0.0.84 → 0.0.86

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
@@ -1695,7 +1695,8 @@ function FillingTagsAutocomplete(_a) {
1695
1695
  form.setValue("".concat(name, ".name"), item === null || item === void 0 ? void 0 : item.name, { shouldValidate: true });
1696
1696
  };
1697
1697
  React.useEffect(function () {
1698
- fetchTags(type);
1698
+ if (type)
1699
+ fetchTags(type);
1699
1700
  }, [type]);
1700
1701
  var onSearchItem = function (value) {
1701
1702
  filter.updateSearchQuery(value);