File tree 1 file changed +3
-3
lines changed
client/packages/lowcoder/src/comps/comps/moduleComp
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ const childrenMap = {
85
85
events : eventHandlerControl ( ) ,
86
86
autoHeight : AutoHeightControl ,
87
87
scrollbars : withDefault ( BoolControl , false ) ,
88
- loadInDomWhenHide : withDefault ( BoolControl , true ) ,
88
+ loadModuleInDomWhenHide : withDefault ( BoolControl , true ) ,
89
89
} ;
90
90
91
91
type DataType = ToDataType < ToInstanceType < typeof childrenMap > > ;
@@ -128,7 +128,7 @@ class ModuleTmpComp extends ModuleCompBase {
128
128
label : trans ( "prop.scrollbar" ) ,
129
129
} ) }
130
130
{ hiddenPropertyView ( this . children ) }
131
- { this . children . hidden . getView ( ) && this . children . loadInDomWhenHide . propertyView ( {
131
+ { this . children . hidden . getView ( ) && this . children . loadModuleInDomWhenHide . propertyView ( {
132
132
label : "Load module in DOM when hidden" ,
133
133
} ) }
134
134
</ Section >
@@ -529,7 +529,7 @@ const ModuleCompWithView = withViewFn(ModuleTmpComp, (comp) => {
529
529
if ( error ) {
530
530
return < Placeholder > { error } </ Placeholder > ;
531
531
}
532
- if ( comp . children . hidden . getView ( ) && ! comp . children . loadInDomWhenHide . getView ( ) ) {
532
+ if ( comp . children . hidden . getView ( ) && ! comp . children . loadModuleInDomWhenHide . getView ( ) ) {
533
533
return null ;
534
534
}
535
535
You can’t perform that action at this time.
0 commit comments