Skip to content

Commit

Permalink
changing avg uptime name and tooltip (nymtech#1386)
Browse files Browse the repository at this point in the history
  • Loading branch information
gala1234 authored Jun 20, 2022
1 parent c0e178f commit 608ef77
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions explorer/src/components/MixNodes/Economics/Columns.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,10 @@ export const EconomicsInfoColumns: ColumnsType[] = [
},
{
field: 'avgUptime',
title: 'Avg. Uptime',
title: 'Routing Score',
flex: 1,
headerAlign: 'left',
tooltipInfo: 'Node’s average uptime in the last 24h.',
tooltipInfo:
'Node’s routing score is relative to that of the network. Each time a node is tested, the test packets have to go through the full path of the network (a gateway + 3 nodes). If a node in the path drop packets it will affect the score of other nodes in the test.',
},
];
4 changes: 2 additions & 2 deletions explorer/src/pages/Mixnodes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,8 @@ export const PageMixnodes: React.FC = () => {
},
{
field: 'avg_uptime',
headerName: 'Avg. Uptime',
renderHeader: () => <CustomColumnHeading headingTitle="Avg. Uptime" />,
headerName: 'Routing Score',
renderHeader: () => <CustomColumnHeading headingTitle="Routing Score" />,
headerClassName: 'MuiDataGrid-header-override',
width: 160,
headerAlign: 'left',
Expand Down

0 comments on commit 608ef77

Please sign in to comment.