Skip to content

Commit

Permalink
Merge pull request #505 from provenance-io/aj/update-metrics
Browse files Browse the repository at this point in the history
Hide some metrics while updates are made
  • Loading branch information
jarrydallison committed Apr 13, 2023
2 parents 56f7d33 + 3d0bad3 commit 6fad2f7
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/Pages/Validator/Components/ValidatorMetrics.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,11 @@ export const ValidatorMetrics = () => {
];

const tableData = [
{
metric: 'Proposal Voting',
value: `${validatorMetrics?.votingMetric.count}/${validatorMetrics?.votingMetric.total}`,
},
// TODO: Uncomment when metrics are updated
// {
// metric: 'Proposal Voting',
// value: `${validatorMetrics?.votingMetric.count}/${validatorMetrics?.votingMetric.total}`,
// },
{
metric: 'Uptime',
value: `${new Big(validatorMetrics?.uptimeMetrics.count || 0)
Expand All @@ -99,6 +100,7 @@ export const ValidatorMetrics = () => {
.round(2)
.toString()}%`,
},
// TODO: Uncomment when metrics are updated
// {
// metric: 'KYC Completed',
// value: `${validatorMetrics?.isVerified ? 'Yes' : 'No'}`,
Expand Down

0 comments on commit 6fad2f7

Please sign in to comment.