Skip to content

Commit

Permalink
Do not display the tooltip if the table cell value is an object.
Browse files Browse the repository at this point in the history
  • Loading branch information
khushboovashi committed Jan 17, 2025
1 parent 1be0ff1 commit 72a3ed9
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={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 72a3ed9

Please sign in to comment.