@fto-consult/expo-ui 2.23.9 → 2.23.10

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.23.9",
3
+ "version": "2.23.10",
4
4
  "description": "Bibliothèque de composants UI Expo,react-native",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -976,11 +976,11 @@ export default class CommonDatagridComponent extends AppComponent {
976
976
  }
977
977
  toggleFilters(showFilters,cb){
978
978
  if(!this._isMounted() || !this.isFilterable()) {
979
- this.isUpdating = false;
980
- return;
979
+ this.isUpdating = false;
980
+ return;
981
981
  }
982
- if(this.isUpdating) return false;
983
982
  if(typeof showFilters !=='boolean' || showFilters === this.state.showFilters) return;
983
+ if(this.isUpdating) return false;
984
984
  this.isUpdating = true;
985
985
  setTimeout(()=>{
986
986
  this.setState( {showFilters},()=>{
@@ -990,11 +990,11 @@ export default class CommonDatagridComponent extends AppComponent {
990
990
  },100);
991
991
  }
992
992
  showFilters(){
993
- return this.toggleFilters(false);
994
- }
995
- hideFilters (){
996
993
  return this.toggleFilters(true);
997
994
  }
995
+ hideFilters (){
996
+ return this.toggleFilters(false);
997
+ }
998
998
 
999
999
  toggleFooters(showOrHide){
1000
1000
  if(typeof showOrHide !=='boolean' || this.canShowFooters() === showOrHide) return;