@fto-consult/expo-ui 7.17.3 → 7.17.4

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": "7.17.3",
3
+ "version": "7.17.4",
4
4
  "description": "Bibliothèque de composants UI Expo,react-native",
5
5
  "scripts": {
6
6
  "clear-npx-cache": "npx clear-npx-cache",
@@ -323,7 +323,7 @@ export default class CommonDatagridComponent extends AppComponent {
323
323
  if(!("sparkline" in this.state.config) && this.isDashboard()){
324
324
  this.state.config.sparkline = true;
325
325
  }
326
- const dType = defaultStr(this.props.displayType,this.getSessionData("displayType"),"table");
326
+ const dType = defaultStr(this.getSessionData("displayType"),this.props.displayType,"table");
327
327
  this.state.displayType = this.displayTypes[dType] ? this.displayTypes[dType].code : "table" in this.displayTypes ? "table" : Object.keys(this.displayTypes)[0]?.code;
328
328
  this.state.displayOnlySectionListHeaders = defaultBool(this.getSessionData("displayOnlySectionListHeaders"),this.props.displayOnlySectionListHeaders,false)
329
329
  if(this.state.displayOnlySectionListHeaders){