@fto-consult/expo-ui 2.0.4 → 2.0.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.0.4",
3
+ "version": "2.0.5",
4
4
  "description": "Bibliothèque de composants UI Expo,react-native",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1497,7 +1497,7 @@ export default class CommonDatagridComponent extends AppComponent {
1497
1497
  _render = <Hashtag>{_render}</Hashtag>
1498
1498
  } else if(typeof columnDef.render === "function"){
1499
1499
  _render = columnDef.render.call(this,renderArgs);
1500
- } else if(arrayValueExists( _type,["date","date2time","time"]) && isNonNullString(rowData[columnField])){
1500
+ } else if(arrayValueExists( _type,["date","datetime","time"]) && isNonNullString(rowData[columnField])){
1501
1501
  let _dd =DateLib.parse(rowData[columnField],_type === 'time'?DateLib.isoTimeFormat:DateLib.SQLDateFormat);
1502
1502
  if(DateLib.isDateObj(_dd)){
1503
1503
  _render = DateLib.format(_dd,(_type === 'time'?DateLib.defaultTimeFormat:DateLib.masks.defaultDate));
@@ -69,7 +69,7 @@ export default function MainScreenScreenWithOrWithoutAuthContainer(props) {
69
69
  ];
70
70
  options = defaultObj(options);
71
71
  appBarProps = defaultObj(appBarProps)
72
- title = defaultVal(appBarProps.title,options.title,title);
72
+ title = defaultVal(title,appBarProps.title,options.title);
73
73
  subtitle = defaultVal(appBarProps.subtitle,options.subtitle,subtitle);
74
74
  const appBarRef = createAppBarRef();
75
75
  const navigation = useNavigation();