diff options
author | Dan Finlay <dan@danfinlay.com> | 2017-06-15 10:36:37 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2017-06-15 10:36:37 +0800 |
commit | a80945e73075b8c0dc43a68ba73da65d7074e098 (patch) | |
tree | 26220f0e1144147b09ebee6af0bc7bcf4016afa1 /ui/app/app.js | |
parent | 1ed5804e4dd2f85549abcb8dfd8981dab3f6868c (diff) | |
download | tangerine-wallet-browser-a80945e73075b8c0dc43a68ba73da65d7074e098.tar tangerine-wallet-browser-a80945e73075b8c0dc43a68ba73da65d7074e098.tar.gz tangerine-wallet-browser-a80945e73075b8c0dc43a68ba73da65d7074e098.tar.bz2 tangerine-wallet-browser-a80945e73075b8c0dc43a68ba73da65d7074e098.tar.lz tangerine-wallet-browser-a80945e73075b8c0dc43a68ba73da65d7074e098.tar.xz tangerine-wallet-browser-a80945e73075b8c0dc43a68ba73da65d7074e098.tar.zst tangerine-wallet-browser-a80945e73075b8c0dc43a68ba73da65d7074e098.zip |
Hide message on normal loading
Diffstat (limited to 'ui/app/app.js')
-rw-r--r-- | ui/app/app.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/app/app.js b/ui/app/app.js index 17a0f8ef3..d444a8349 100644 --- a/ui/app/app.js +++ b/ui/app/app.js @@ -66,6 +66,8 @@ App.prototype.render = function () { var props = this.props const { isLoading, loadingMessage, transForward, network } = props const isLoadingNetwork = network === 'loading' + const loadMessage = loadingMessage || isLoadingNetwork ? + 'Searching for Network' : null log.debug('Main ui render function') @@ -86,7 +88,7 @@ App.prototype.render = function () { h(Loading, { isLoading: isLoading || isLoadingNetwork, - loadingMessage: loadingMessage || 'Searching for Network', + loadingMessage: loadMessage, }), // panel content |