From 2b0726c89e9736e0e1f97cb9e11f9a39a9fc6b3f Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Fri, 16 Aug 2019 10:26:03 -0700 Subject: [PATCH] fix: when uptime info is not available, don't imply the node itself is not available --- src/v2/components/Validators/Table/index.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/v2/components/Validators/Table/index.jsx b/src/v2/components/Validators/Table/index.jsx index c6300e97..8b5779d6 100644 --- a/src/v2/components/Validators/Table/index.jsx +++ b/src/v2/components/Validators/Table/index.jsx @@ -41,7 +41,7 @@ const ValidatorsTable = ({separate}: {separate: boolean}) => { {(stake && (stake * LAMPORT_SOL_RATIO).toFixed(8)) || 'N/A'} {commission || 'N/A'} - {(uptime && uptime + '%') || 'Node Unavailable'} + {(uptime && uptime + '%') || 'Unavailable'} ); }; @@ -68,7 +68,7 @@ const ValidatorsTable = ({separate}: {separate: boolean}) => {
Uptime
-
{(uptime && uptime + '%') || 'Node Unavailable'}
+
{(uptime && uptime + '%') || 'Unavailable'}