mg-library 1.0.410 → 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.
- package/blocks.js +6 -4
- 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
|
|
@@ -507,7 +507,9 @@ export function MGFlatListHeader(props) {
|
|
507
507
|
{props.sessionHeader}
|
508
508
|
{props.goBack}
|
509
509
|
{props.beforeTitle != undefined &&
|
510
|
-
|
510
|
+
<>
|
511
|
+
props.beforeTitle
|
512
|
+
</>
|
511
513
|
}
|
512
514
|
<View style={{ marginHorizontal: 10, marginBottom: 20, paddingHorizontal: 10, paddingVertical: 10, borderColor: props.theme['color-primary-500'], borderRadius: 10, borderStyle: 'solid', borderWidth: 1 }}>
|
513
515
|
<Text category='h6' style={{ marginLeft: 10 }}>{props.title}</Text>
|