mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-01-23 23:13:38 -06:00
Do not display the tooltip if the table cell value is an object.
This commit is contained in:
parent
1be0ff13db
commit
72a3ed9068
@ -191,7 +191,7 @@ export const PgReactTableCell = forwardRef(({row, cell, children, className}, re
|
|||||||
...(cell.column.columnDef.maxSize ? { maxWidth: `${cell.column.columnDef.maxSize}px` } : {})
|
...(cell.column.columnDef.maxSize ? { maxWidth: `${cell.column.columnDef.maxSize}px` } : {})
|
||||||
}}
|
}}
|
||||||
className={classNames.join(' ')}
|
className={classNames.join(' ')}
|
||||||
title={String(cell.getValue() ?? '')}>
|
title={typeof(cell.getValue()) !== 'object' && String(cell.getValue() ?? '')}>
|
||||||
<div className='pgrd-row-cell-content'>{children}</div>
|
<div className='pgrd-row-cell-content'>{children}</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user