improve mesh connectivity reporting

This commit is contained in:
Paul Frazee
2015-09-29 10:58:23 -05:00
parent c2b7b1e426
commit 9a75883846
4 changed files with 8 additions and 5 deletions

View File

@@ -32,7 +32,7 @@ module.exports = function () {
var warning
if (stats.membersof === 0)
warning = h('p', com.icon('warning-sign'), ' You need to join a pub if you want to communicate across the Internet!')
else if (stats.active === 0)
else if (stats.active === 0 && stats.untried === 0)
warning = h('p', com.icon('warning-sign'), ' None of your pubs are responding! Are you connected to the Internet?')
return h('.pub-status',