File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
client/packages/lowcoder/src/comps/comps Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -65,11 +65,12 @@ function ModuleLayoutView(props: IProps) {
6565 const defaultGrid = useContext ( ThemeContext ) ?. theme ?. gridColumns || "24" ; //Added By Aqib Mirza
6666 const { readOnly } = useContext ( ExternalEditorContext ) ;
6767
68- if ( readOnly ) {
69- return (
70- < ModulePreviewWrapper className = { CNRootContainer } > { props . containerView } </ ModulePreviewWrapper >
71- ) ;
72- }
68+ // Removed this so that module load with canvas view and app settings will apply
69+ // if (readOnly) {
70+ // return (
71+ // <ModulePreviewWrapper className={CNRootContainer}>{props.containerView}</ModulePreviewWrapper>
72+ // );
73+ // }
7374
7475 const layout = {
7576 [ moduleContainerId ] : {
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ const RootView = React.memo((props: RootViewProps) => {
8282 localDefaultTheme ;
8383
8484 const themeId = selectedTheme ? selectedTheme . id : (
85- previewTheme ? "preview-theme" : 'default-theme-id'
85+ previewTheme ?. previewTheme ? "preview-theme" : 'default-theme-id'
8686 ) ;
8787
8888 useEffect ( ( ) => {
You can’t perform that action at this time.
0 commit comments