Table: Make sparkline cell respect no value option. (#75750)

Make sparkline respect no value option
This commit is contained in:
Oscar Kilhed 2023-09-29 16:54:16 +02:00 committed by GitHub
parent 59f0f9a93e
commit f39ed59662
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,7 @@ export const SparklineCell = (props: TableCellProps) => {
if (!sparkline) {
return (
<div {...cellProps} className={tableStyles.cellContainer}>
no data
{field.config.noValue || 'no data'}
</div>
);
}