File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
client/packages/lowcoder/src/comps/comps/moduleComp Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ const childrenMap = {
8585 events : eventHandlerControl ( ) ,
8686 autoHeight : AutoHeightControl ,
8787 scrollbars : withDefault ( BoolControl , false ) ,
88- loadInDomWhenHide : withDefault ( BoolControl , true ) ,
88+ loadModuleInDomWhenHide : withDefault ( BoolControl , true ) ,
8989} ;
9090
9191type DataType = ToDataType < ToInstanceType < typeof childrenMap > > ;
@@ -128,7 +128,7 @@ class ModuleTmpComp extends ModuleCompBase {
128128 label : trans ( "prop.scrollbar" ) ,
129129 } ) }
130130 { hiddenPropertyView ( this . children ) }
131- { this . children . hidden . getView ( ) && this . children . loadInDomWhenHide . propertyView ( {
131+ { this . children . hidden . getView ( ) && this . children . loadModuleInDomWhenHide . propertyView ( {
132132 label : "Load module in DOM when hidden" ,
133133 } ) }
134134 </ Section >
@@ -529,7 +529,7 @@ const ModuleCompWithView = withViewFn(ModuleTmpComp, (comp) => {
529529 if ( error ) {
530530 return < Placeholder > { error } </ Placeholder > ;
531531 }
532- if ( comp . children . hidden . getView ( ) && ! comp . children . loadInDomWhenHide . getView ( ) ) {
532+ if ( comp . children . hidden . getView ( ) && ! comp . children . loadModuleInDomWhenHide . getView ( ) ) {
533533 return null ;
534534 }
535535
You can’t perform that action at this time.
0 commit comments