Skip to content

Commit 870c8cb

Browse files
fix: load hidden comps in preview
1 parent 8beddaa commit 870c8cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/packages/lowcoder/src/comps/generators/uiCompBuilder.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export type NewChildren<ChildrenCompMap extends Record<string, Comp<unknown>>> =
2626
export function HidableView(props: { children: JSX.Element | React.ReactNode; hidden: boolean }) {
2727
const { readOnly } = useContext(ExternalEditorContext);
2828
if (readOnly) {
29-
return <>{!props.hidden && props.children}</>;
29+
return <>{props.children}</>;
3030
} else {
3131
return (
3232
<>

0 commit comments

Comments
 (0)