From 0f5483f4978ac0d3e114abe13c9f60942e6332b1 Mon Sep 17 00:00:00 2001 From: Rushan Date: Fri, 9 Jun 2017 03:39:50 +0530 Subject: [PATCH] browser: Disable usage/free stats for browser-gateway (#4497) --- browser/app/js/components/Browse.js | 34 ++++++++++++++++------------- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/browser/app/js/components/Browse.js b/browser/app/js/components/Browse.js index 5b0accd29..df54cf34c 100644 --- a/browser/app/js/components/Browse.js +++ b/browser/app/js/components/Browse.js @@ -463,21 +463,25 @@ export default class Browse extends React.Component { } if (web.LoggedIn()) { - storageUsageDetails =
-
-
-
- -
+ if (!(used === 0 && free === 0)) { + storageUsageDetails =
+
+
+
+ +
+ } + + } let createButton = ''