Attempt to render txid as date if possible
Summary: We are using frame time on android so make sense to present it Reviewed By: lblasa Differential Revision: D42996555 fbshipit-source-id: 595a08571ccd82de0761cfeea8a204e576981ee0
This commit is contained in:
committed by
Facebook GitHub Bot
parent
4f9701ca88
commit
d3df6bc00e
@@ -26,6 +26,13 @@ const columns: DataTableColumn<PerfStatsEvent>[] = [
|
||||
{
|
||||
key: 'txId',
|
||||
title: 'TXID',
|
||||
onRender: (row: PerfStatsEvent) => {
|
||||
try {
|
||||
return new Date(row.txId).toISOString();
|
||||
} catch {
|
||||
return row.txId;
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
key: 'observerType',
|
||||
|
||||
Reference in New Issue
Block a user