From 9066906764cabc58f02467cf4a0b304f017f1b67 Mon Sep 17 00:00:00 2001 From: Karl-Erik Gustafsson Date: Sat, 9 Sep 2023 00:36:56 +0300 Subject: [PATCH] fix: display values --- packages/server-admin-ui/src/views/Dashboard/Dashboard.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/server-admin-ui/src/views/Dashboard/Dashboard.js b/packages/server-admin-ui/src/views/Dashboard/Dashboard.js index 788ca2703..05f7817c1 100644 --- a/packages/server-admin-ui/src/views/Dashboard/Dashboard.js +++ b/packages/server-admin-ui/src/views/Dashboard/Dashboard.js @@ -123,7 +123,7 @@ const Dashboard = (props) => { {providerIdLink(providerId)} - {providerStats.writeRate && ( + {providerStats.writeRate > 0 && ( {' '} @@ -132,14 +132,14 @@ const Dashboard = (props) => { {providerStats.writeRate}{' '} )} - {providerStats.deltaRate && - providerStats.writeRate && ( + {providerStats.deltaRate > 0 && + providerStats.writeRate > 0 && ( {','}   )} - {providerStats.deltaRate && ( + {providerStats.deltaRate > 0 && ( {' '}