mg-library 1.0.409 → 1.0.411

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.
Files changed (2) hide show
  1. package/blocks.js +8 -3
  2. package/package.json +1 -1
package/blocks.js CHANGED
@@ -33,14 +33,14 @@ export function MGWelcome(props) {
33
33
  let listHeaderComponent = (
34
34
  <View>
35
35
  <MGSessionHeader module={mgFunctionsLib.i18nString('notices', props.language)} person={props.person} theme={props.theme} />
36
- {companyInfoComponent}
36
+ {companyInfoComponent}
37
37
  <MGDivider />
38
38
  {props.beforeNotices != undefined &&
39
39
  <>
40
40
  {props.beforeNotices}
41
- <MGDivider />
41
+ <MGDivider />
42
42
  </>
43
- }
43
+ }
44
44
  </View>
45
45
  );
46
46
 
@@ -506,6 +506,11 @@ export function MGFlatListHeader(props) {
506
506
  <View style={{ flexGrow: 1 }}>
507
507
  {props.sessionHeader}
508
508
  {props.goBack}
509
+ {props.beforeTitle != undefined &&
510
+ <>
511
+ props.beforeTitle
512
+ </>
513
+ }
509
514
  <View style={{ marginHorizontal: 10, marginBottom: 20, paddingHorizontal: 10, paddingVertical: 10, borderColor: props.theme['color-primary-500'], borderRadius: 10, borderStyle: 'solid', borderWidth: 1 }}>
510
515
  <Text category='h6' style={{ marginLeft: 10 }}>{props.title}</Text>
511
516
  </View>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mg-library",
3
- "version": "1.0.409",
3
+ "version": "1.0.411",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {