Skip to content

Commit

Permalink
Pass an empty string for the table cell tooltip if the cell value is …
Browse files Browse the repository at this point in the history
…an object.
  • Loading branch information
khushboovashi committed Jan 20, 2025
1 parent cd86ce0 commit 90eff9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/pgadmin/static/js/components/PgReactTableStyled.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ export const PgReactTableCell = forwardRef(({row, cell, children, className}, re
...(cell.column.columnDef.maxSize ? { maxWidth: `${cell.column.columnDef.maxSize}px` } : {})
}}
className={classNames.join(' ')}
title={typeof(cell.getValue()) !== 'object' && String(cell.getValue() ?? '')}>
title={typeof(cell.getValue()) === 'object' ? '' : String(cell.getValue() ?? '')}>
<div className='pgrd-row-cell-content'>{children}</div>
</div>
);
Expand Down

0 comments on commit 90eff9a

Please sign in to comment.