don't render duration if aggregated (#13455)

This commit is contained in:
Vadim Ogievetsky 2022-11-30 19:21:07 -08:00 committed by GitHub
parent cc2e4a80ff
commit 2fdcfffe40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -917,7 +917,8 @@ ORDER BY
width: 80, width: 80,
filterable: false, filterable: false,
className: 'padded', className: 'padded',
Cell({ value, original }) { Cell({ value, original, aggregated }) {
if (aggregated) return '';
if (value > 0) { if (value > 0) {
return formatDuration(value); return formatDuration(value);
} }