aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/app.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-06-15 10:36:37 +0800
committerDan Finlay <dan@danfinlay.com>2017-06-15 10:36:37 +0800
commita80945e73075b8c0dc43a68ba73da65d7074e098 (patch)
tree26220f0e1144147b09ebee6af0bc7bcf4016afa1 /ui/app/app.js
parent1ed5804e4dd2f85549abcb8dfd8981dab3f6868c (diff)
downloadtangerine-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.js4
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