@fixefy/fixefy-ui-components 0.2.39 → 0.2.40

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.
@@ -184,6 +184,8 @@ const FxAsyncDropdown = /*#__PURE__*/ _react.default.forwardRef((props)=>{
184
184
  (0, _react.useEffect)(()=>{
185
185
  if (data && !isLastPage && prevPage < page) {
186
186
  const newOptions = method_name == 'workspace' ? data.workspace[search_path === null || search_path === void 0 ? void 0 : search_path.split('.')[1]] : (0, _helpers.getJPart)(data, method_name);
187
+ //TODO: SHOULD ADD ANOTHER VARIABLE FOR THE PATH AND INSTEAD OF THE CURRENT newOptions, USE THE getJPart WITH THE PATH:
188
+ // const newOptions: Option[] = getJPart(data, PATH)
187
189
  if (newOptions == null || newOptions.length < pageSize) {
188
190
  setIsLastPage(true);
189
191
  }
package/package.json CHANGED
@@ -65,5 +65,5 @@
65
65
  "require": "./dist/index.js"
66
66
  }
67
67
  },
68
- "version": "0.2.39"
68
+ "version": "0.2.40"
69
69
  }