fix(explorer): fix uptime to reference genesisTime field (#1807)
This commit is contained in:
parent
1964d42e5b
commit
31ea48b90a
@ -78,9 +78,9 @@ export interface NetworkStats_statistics {
|
||||
*/
|
||||
chainId: string;
|
||||
/**
|
||||
* RFC3339Nano uptime of the node
|
||||
* RFC3339Nano genesis time of the chain
|
||||
*/
|
||||
upTime: string;
|
||||
genesisTime: string;
|
||||
}
|
||||
|
||||
export interface NetworkStats {
|
||||
|
@ -38,7 +38,7 @@ const STATS_QUERY = gql`
|
||||
appVersion
|
||||
chainVersion
|
||||
chainId
|
||||
upTime
|
||||
genesisTime
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
@ -140,7 +140,7 @@ export const statsFields: { [key in keyof Stats]: StatFields[] } = {
|
||||
description: t('Tendermint software version on this node'),
|
||||
},
|
||||
],
|
||||
upTime: [
|
||||
genesisTime: [
|
||||
{
|
||||
title: t('Uptime'),
|
||||
formatter: (t: string) => {
|
||||
|
Loading…
Reference in New Issue
Block a user