@fto-consult/expo-ui 2.49.0 → 2.49.3
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
|
@@ -1748,9 +1748,6 @@ export default class CommonDatagridComponent extends AppComponent {
|
|
|
1748
1748
|
defaultValue : 0,
|
|
1749
1749
|
type : "switch",
|
|
1750
1750
|
} : null,
|
|
1751
|
-
addEmptyRowAfterTotal : {
|
|
1752
|
-
|
|
1753
|
-
},
|
|
1754
1751
|
},
|
|
1755
1752
|
actions : [{text:'Exporter',icon : "check"}],
|
|
1756
1753
|
onSuccess:({data:config})=>{
|
|
@@ -237,6 +237,13 @@ const SWRDatagridComponent = React.forwardRef((props,ref)=>{
|
|
|
237
237
|
cb();
|
|
238
238
|
}
|
|
239
239
|
},[isValidating,customIsLoading])
|
|
240
|
+
React.useEffect(()=>{
|
|
241
|
+
setTimeout(x=>{
|
|
242
|
+
if(error && innerRef.current && innerRef.current.isLoading && innerRef.current.isLoading()){
|
|
243
|
+
innerRef.current.setIsLoading(false,false);
|
|
244
|
+
}
|
|
245
|
+
},500)
|
|
246
|
+
},[error])
|
|
240
247
|
const doRefresh = (showProgress)=>{
|
|
241
248
|
showProgressRef.current = showProgress ? typeof showProgress ==='boolean' : false;
|
|
242
249
|
if(isFetchingRef.current) return;
|
|
@@ -280,7 +280,6 @@ export default class TableDataScreenComponent extends FormDataScreen{
|
|
|
280
280
|
if(isObj(customFields)){
|
|
281
281
|
extendObj(true,fields,customFields);
|
|
282
282
|
}
|
|
283
|
-
console.log(this.primaryKeyFields," is pkeyFields heeeee");
|
|
284
283
|
///on effectue une mutator sur le champ en cours de modification
|
|
285
284
|
if(typeof prepareField =='function'){
|
|
286
285
|
Object.map(fields,(field,i,counterIndex)=>{
|