Skip to content

Commit adc5f64

Browse files
Merge pull request #2126 from iamfaran/fix/2119-column-hide
[Fix]: #2119 column layout hide property
2 parents 8232033 + 0ec710a commit adc5f64

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

client/packages/lowcoder/src/comps/comps/columnLayout/columnLayout.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,9 +209,8 @@ const ColumnLayout = (props: ColumnLayoutProps) => {
209209
{columns.map(column => {
210210
const id = String(column.id);
211211
const childDispatch = wrapDispatch(wrapDispatch(dispatch, "containers"), id);
212-
if(!containers[id]) return null
212+
if(!containers[id] || column.hidden) return null
213213
const containerProps = containers[id].children;
214-
const noOfColumns = columns.length;
215214
return (
216215
<React.Fragment key={id}>
217216
<BackgroundColorContext.Provider value={props.columnStyle.background}>

0 commit comments

Comments
 (0)