@fto-consult/expo-ui 2.39.6 → 2.39.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fto-consult/expo-ui",
3
- "version": "2.39.6",
3
+ "version": "2.39.7",
4
4
  "description": "Bibliothèque de composants UI Expo,react-native",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -3382,7 +3382,7 @@ export default class CommonDatagridComponent extends AppComponent {
3382
3382
  if((stableHash(nextProps.data) === stableHash(this.props.data))) {
3383
3383
  return false;
3384
3384
  }
3385
- this.setIsLoading(true,true);
3385
+ this.setIsLoading(true);
3386
3386
  this.prepareData({...nextProps,force:true},(state)=>{
3387
3387
  this.setState(state)
3388
3388
  });
@@ -3393,7 +3393,7 @@ export default class CommonDatagridComponent extends AppComponent {
3393
3393
  isLoading (){
3394
3394
  if(this.state.isReady === false || this.isRenderingRef.current) return true;
3395
3395
  if(typeof this.props.isLoading =='boolean') return this.props.isLoading;
3396
- return this.isLoadingRef.current === true ? true : false;
3396
+ return !!this.isLoadingRef.current;
3397
3397
  }
3398
3398
  getLinesProgressBar(){
3399
3399
  return CommonDatagridComponent.LinesProgressBar(this.props);
@@ -66,7 +66,7 @@ export default function DatabaseStatisticContainer ({dashboardProps,onRefreshAll
66
66
  setIsLoading(false);
67
67
  refreshingRef.current = false;
68
68
  });
69
- },100);
69
+ },100);
70
70
  }
71
71
 
72
72
  React.useEffect(()=>{