Skip to content

Commit 12bcf21

Browse files
author
Hector Arce De Las Heras
committed
Fix Conditional Rendering of Empty Table Row Header
This commit addresses an issue with the conditional rendering of the empty table row header. Previously, the empty row header was not being displayed correctly based on the hasRowHeader condition. This has been fixed to ensure that the empty row header is shown or hidden correctly according to the hasRowHeader value
1 parent 10e0839 commit 12bcf21

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@kubit-ui-web/react-components",
3-
"version": "1.1.1",
3+
"version": "1.1.2",
44
"description": "Kubit React Components is a customizable, accessible library of React web components, designed to enhance your application's user experience",
55
"author": {
66
"name": "Kubit",

src/components/table/component/table.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export const TableComponent = (
7171
numberOfCells={headersElement.length}
7272
styles={props.styles.header?.[props.headerVariant]}
7373
>
74-
<EmptyRowHeader styles={props.styles.header?.[props.headerVariant]} />
74+
{hasRowHeader && <EmptyRowHeader styles={props.styles.header?.[props.headerVariant]} />}
7575
{hasSomeDividerContent && (
7676
<TableColumnHeaderStyled
7777
key={'dividerContent'}

0 commit comments

Comments
 (0)