@@ -50,7 +50,7 @@ export const ContainerBaseComp = (function () {
50
50
{ children . container . children . showHeader . getView ( ) && (
51
51
< Section name = { "Header Style" } >
52
52
{ children . container . headerStylePropertyView ( ) }
53
- </ Section >
53
+ </ Section >
54
54
) }
55
55
{ children . container . children . showBody . getView ( ) && (
56
56
< Section name = { "Body Style" } >
@@ -68,7 +68,7 @@ export const ContainerBaseComp = (function () {
68
68
) ;
69
69
} )
70
70
. build ( ) ;
71
- } ) ( ) ;
71
+ } ) ( ) ;
72
72
73
73
// Compatible with old data
74
74
function convertOldContainerParams ( params : CompParams < any > ) {
@@ -78,18 +78,15 @@ function convertOldContainerParams(params: CompParams<any>) {
78
78
if ( tempParams . value ) {
79
79
const container = tempParams . value . container ;
80
80
// old params
81
- if (
82
- container &&
83
- ( container . hasOwnProperty ( "layout" ) || container . hasOwnProperty ( "items" ) )
84
- ) {
81
+ if ( container && ( container . hasOwnProperty ( "layout" ) || container . hasOwnProperty ( "items" ) ) ) {
85
82
const autoHeight = tempParams . value . autoHeight ;
86
83
const scrollbars = tempParams . value . scrollbars ;
87
84
return {
88
85
...tempParams ,
89
86
value : {
90
87
container : {
91
88
showHeader : true ,
92
- body : { 0 : { view : container } } ,
89
+ body : { 0 : { view : container } } ,
93
90
showBody : true ,
94
91
showFooter : false ,
95
92
autoHeight : autoHeight ,
@@ -108,9 +105,7 @@ class ContainerTmpComp extends ContainerBaseComp {
108
105
}
109
106
}
110
107
111
- export const ContainerComp = withExposingConfigs ( ContainerTmpComp , [
112
- NameConfigHidden ,
113
- ] ) ;
108
+ export const ContainerComp = withExposingConfigs ( ContainerTmpComp , [ NameConfigHidden ] ) ;
114
109
115
110
type ContainerDataType = ToDataType < ContainerChildren < { } > > ;
116
111
0 commit comments