@fto-consult/expo-ui 2.39.3 → 2.39.5

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.3",
3
+ "version": "2.39.5",
4
4
  "description": "Bibliothèque de composants UI Expo,react-native",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -2339,6 +2339,7 @@ export default class CommonDatagridComponent extends AppComponent {
2339
2339
  text : "Grouper par",
2340
2340
  icon : "group",
2341
2341
  closeOnPress : false,
2342
+ right : (p)=><Icon {...p} name="material-settings"/>,
2342
2343
  divider : true,
2343
2344
  style : theme.styles.bold,
2344
2345
  onPress : this.configureSectionLists.bind(this),
@@ -216,6 +216,9 @@ const SWRDatagridComponent = React.forwardRef((props,ref)=>{
216
216
  });
217
217
  }
218
218
  const {url:fUrl,fetcher:cFetcher,...rest} = getFetcherOptions(url,opts);
219
+ if(showProgressRef.current ===false){
220
+ rest.showError = false;
221
+ }
219
222
  return cFetcher(fUrl,rest).then(fetchCB).finally(()=>{
220
223
  isFetchingRef.current = false;
221
224
  });