Skip to content

Commit

Permalink
fix: draft
Browse files Browse the repository at this point in the history
  • Loading branch information
matthias-goupil committed Jan 15, 2025
1 parent b8e8e7e commit 9475ed9
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,7 @@ function CustomTableHeader(props: IProps): JSX.Element {
}}
>
{stickyHeader.label}
{stickyHeader.gridHeaderInfoTooltip.trim() && (
<InfoTooltip title={stickyHeader.gridHeaderInfoTooltip} />
)}
{stickyHeader.gridHeaderInfoTooltip?.trim() ? <InfoTooltip title={stickyHeader.gridHeaderInfoTooltip} /> : null}
</StickyTableCell>
))}

Expand Down Expand Up @@ -149,9 +147,7 @@ function CustomTableHeader(props: IProps): JSX.Element {
}}
>
{t(header.label)}
{header.gridHeaderInfoTooltip.trim() && (
<InfoTooltip title={header.gridHeaderInfoTooltip} />
)}
{header.gridHeaderInfoTooltip?.trim() ? <InfoTooltip title={header.gridHeaderInfoTooltip} /> : null}
</BaseTableCell>
))}
</TableRow>
Expand Down

0 comments on commit 9475ed9

Please sign in to comment.