@fto-consult/expo-ui 6.76.5 → 6.76.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fto-consult/expo-ui",
3
- "version": "6.76.5",
3
+ "version": "6.76.6",
4
4
  "description": "Bibliothèque de composants UI Expo,react-native",
5
5
  "main": "main",
6
6
  "scripts": {
@@ -398,7 +398,6 @@ const SWRDatagridComponent = React.forwardRef((props,ref)=>{
398
398
  autoSort = {canSortRemotely()? false : true}
399
399
  isLoading = {loading && showProgressRef.current || false}
400
400
  beforeFetchData = {(args)=>{
401
- if(typeof beforeFetchData =="function" && beforeFetchData(args)==false) return;
402
401
  let {fetchOptions:opts,force,renderProgressBar} = args;
403
402
  opts = getFetchOptions({showError:showProgressRef.current,...opts});
404
403
  isInitializedRef.current = true;
@@ -408,7 +407,7 @@ const SWRDatagridComponent = React.forwardRef((props,ref)=>{
408
407
  if(force){
409
408
  pageRef.current = firstPage;
410
409
  }
411
- console.log(fetchOptionsRef.current," is current fetching options heee");
410
+ if(typeof beforeFetchData =="function" && beforeFetchData(args)==false) return;
412
411
  doRefresh(typeof renderProgressBar =='boolean'? renderProgressBar : force);
413
412
  return false;
414
413
  }}