From 2378cd8f195bd9395cdb50c871616a2ec12d753a Mon Sep 17 00:00:00 2001 From: "Valentin D. Pinkman" Date: Thu, 14 Jun 2018 15:25:39 +0200 Subject: [PATCH] add loader in app screen --- src/components/ManagerPage/AppsList.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/ManagerPage/AppsList.js b/src/components/ManagerPage/AppsList.js index 244adb41..fa6d26cb 100644 --- a/src/components/ManagerPage/AppsList.js +++ b/src/components/ManagerPage/AppsList.js @@ -15,6 +15,7 @@ import Modal, { ModalBody } from 'components/base/Modal' import Tooltip from 'components/base/Tooltip' import Text from 'components/base/Text' import Progress from 'components/base/Progress' +import Spinner from 'components/base/Spinner' import ExclamationCircle from 'icons/ExclamationCircle' import Update from 'icons/Update' @@ -178,7 +179,7 @@ class AppsList extends PureComponent { renderList() { const { appsList } = this.state - return ( + return appsList.length > 0 ? ( {items => ( @@ -198,6 +199,10 @@ class AppsList extends PureComponent { {this.renderModal()} + ) : ( + + + ) }