aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-06-04 06:18:20 +0800
committerDan Finlay <dan@danfinlay.com>2016-06-04 06:18:20 +0800
commitd49ef1a2e54b0a9ac7a3d23d7744990543246ec6 (patch)
tree38970967e820a5365c8fcde7e134c2fccf705301 /ui/app
parent2422c78ce20a032a81545bf8cc03394e12c599d5 (diff)
downloadtangerine-wallet-browser-d49ef1a2e54b0a9ac7a3d23d7744990543246ec6.tar
tangerine-wallet-browser-d49ef1a2e54b0a9ac7a3d23d7744990543246ec6.tar.gz
tangerine-wallet-browser-d49ef1a2e54b0a9ac7a3d23d7744990543246ec6.tar.bz2
tangerine-wallet-browser-d49ef1a2e54b0a9ac7a3d23d7744990543246ec6.tar.lz
tangerine-wallet-browser-d49ef1a2e54b0a9ac7a3d23d7744990543246ec6.tar.xz
tangerine-wallet-browser-d49ef1a2e54b0a9ac7a3d23d7744990543246ec6.tar.zst
tangerine-wallet-browser-d49ef1a2e54b0a9ac7a3d23d7744990543246ec6.zip
Blockchain status now updates on availability change
Diffstat (limited to 'ui/app')
-rw-r--r--ui/app/components/network.js10
1 files changed, 4 insertions, 6 deletions
diff --git a/ui/app/components/network.js b/ui/app/components/network.js
index 90c307ed6..37046fd30 100644
--- a/ui/app/components/network.js
+++ b/ui/app/components/network.js
@@ -16,14 +16,12 @@ Network.prototype.render = function() {
let iconName, hoverText
const imagePath = "/images/"
- if (networkNumber == undefined || networkNumber == "error") {
- hoverText = 'No Blockchain Connection'
- iconName = 'no-connection'
- } else if (networkNumber == 'loading') {
+ if (networkNumber == 'loading') {
return h('img', {
- title: 'Contacting network...',
+ title: 'Attempting to connect to blockchain.',
style: {
width: '27px',
+ marginRight: '-16px'
},
src: 'images/loading.svg',
})
@@ -39,7 +37,7 @@ Network.prototype.render = function() {
}
return (
h('#network_component.flex-center', {
- style: {},
+ style: { marginRight: '-16px' },
title: hoverText,
},[ h('img',{src: imagePath + iconName + ".jpg", width: '25px'}) ])
)