@fto-consult/expo-ui 2.39.6 → 2.39.8
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
|
@@ -3272,6 +3272,9 @@ export default class CommonDatagridComponent extends AppComponent {
|
|
|
3272
3272
|
return isObj(this.progressBarRef.current) && typeof this.progressBarRef.current.setIsLoading =='function' ? true : false;
|
|
3273
3273
|
}
|
|
3274
3274
|
onRender(){
|
|
3275
|
+
if(typeof this.props.onRender ==='function'){
|
|
3276
|
+
this.props.onRender({context:this});
|
|
3277
|
+
}
|
|
3275
3278
|
if(this.isRenderingRef.current === true){
|
|
3276
3279
|
setTimeout(()=>{
|
|
3277
3280
|
this.isRenderingRef.current = false;
|
|
@@ -170,7 +170,7 @@ export default function DatabaseStatisticContainer ({dashboardProps,onRefreshAll
|
|
|
170
170
|
onPress = {onPress}
|
|
171
171
|
title = {title}
|
|
172
172
|
//style = {[theme.styles.pv1]}
|
|
173
|
-
description = {isLoading
|
|
173
|
+
description = {isLoading ?progressBar:<CountUp
|
|
174
174
|
from={0}
|
|
175
175
|
to={count}
|
|
176
176
|
style = {counUpStyle}
|