Skip to content

Commit 041db0c

Browse files
fix normal comps not loading in theme
1 parent fd643d0 commit 041db0c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

client/packages/lowcoder/src/pages/setting/theme/ThemeCompPanel.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,9 @@ export const ThemeCompPanel = (props: any) => {
194194
}
195195
},
196196
}) as any;
197-
await newComp.load();
197+
if (compInfo.lazyLoad) {
198+
await newComp.load();
199+
}
198200
}
199201

200202
if (newComp) {

0 commit comments

Comments
 (0)