Skip to content

Commit

Permalink
Fix hideHeader props
Browse files Browse the repository at this point in the history
  • Loading branch information
MichalKowalczyk committed Oct 13, 2023
1 parent fdbf979 commit 359d61c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "codeebo-react-grid",
"version": "1.4.0",
"version": "1.4.2",
"description": "React Grid Components - Row, Col, Grid, Container",
"repository": "MichalKowalczyk/codeebo-react-grid",
"license": "MIT",
Expand Down
4 changes: 2 additions & 2 deletions src/components/generic-list/generic-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,10 @@ const GenericList = (props: GenericListProps) => {
{inputProps ? <div className="select-icon"></div> : null}
{cols
? cols.map((col, col_index: number) => {
return <GenericListCell hideHeader className="standard-col" col={col} row={row} key={col_index} />;
return <GenericListCell hideHeader={hideHeader} className="standard-col" col={col} row={row} key={col_index} />;
})
: null}
{actions ? <GenericListCell hideHeader col={actions} row={row} className="actions" onClick={handleClickAction} /> : null}
{actions ? <GenericListCell hideHeader={hideHeader} col={actions} row={row} className="actions" onClick={handleClickAction} /> : null}
</div>
{rowChildren && rowChildren(row) ? <div className="list-row-children">{rowChildren(row)}</div> : null}
</React.Fragment>
Expand Down

0 comments on commit 359d61c

Please sign in to comment.