@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
|
@@ -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
|
|
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
|
|
3396
|
+
return !!this.isLoadingRef.current;
|
|
3397
3397
|
}
|
|
3398
3398
|
getLinesProgressBar(){
|
|
3399
3399
|
return CommonDatagridComponent.LinesProgressBar(this.props);
|