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) {
65
65
const defaultGrid = useContext ( ThemeContext ) ?. theme ?. gridColumns || "24" ; //Added By Aqib Mirza
66
66
const { readOnly } = useContext ( ExternalEditorContext ) ;
67
67
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
+ // }
73
74
74
75
const layout = {
75
76
[ moduleContainerId ] : {
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ const RootView = React.memo((props: RootViewProps) => {
82
82
localDefaultTheme ;
83
83
84
84
const themeId = selectedTheme ? selectedTheme . id : (
85
- previewTheme ? "preview-theme" : 'default-theme-id'
85
+ previewTheme ?. previewTheme ? "preview-theme" : 'default-theme-id'
86
86
) ;
87
87
88
88
useEffect ( ( ) => {
You can’t perform that action at this time.
0 commit comments