Skip to content

Commit 813aa2e

Browse files
authored
Merge pull request #353 from raheeliftikhar5/issue-3366/load-hidden-comps-in-preview
Load hidden comps in preview
2 parents 8beddaa + 870c8cb commit 813aa2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
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)