@fixefy/fixefy-ui-components 0.2.6 → 0.2.7

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,7 +184,7 @@ const FxAsyncDropdown = /*#__PURE__*/ _react.default.forwardRef((props, parentRe
184
184
  if (data && !isLastPage && prevPage < page) {
185
185
  //raaya todo: this is too messy clean it
186
186
  const newOptions = variables.method_name == 'workspace' ? data.workspace[search_path === null || search_path === void 0 ? void 0 : search_path.split('.')[1]] : data[method_name];
187
- if (newOptions && ((newOptions === null || newOptions === void 0 ? void 0 : newOptions.length) === 0 || (newOptions === null || newOptions === void 0 ? void 0 : newOptions.length) < pageSize)) {
187
+ if (!newOptions || newOptions.length < pageSize) {
188
188
  setIsLastPage(true);
189
189
  }
190
190
  if (reason === 'searched' || reason === 'init') {
package/package.json CHANGED
@@ -70,5 +70,5 @@
70
70
  "require": "./dist/index.js"
71
71
  }
72
72
  },
73
- "version": "0.2.6"
73
+ "version": "0.2.7"
74
74
  }