Commit a9195c696583b3d711feccb0b9ec40bc2ea10f1e
fix connection icon
mixmix committed on 1/14/2019, 9:53:15 PMParent: e9085cc7a48d9c0b501afd9f9b98a4e1c076baad
Files changed
app/html/connection.js | changed |
app/html/connection.js | ||
---|---|---|
@@ -21,9 +21,9 @@ | ||
21 | 21 … | const newMessageClass = NewMessageClass(api) |
22 | 22 … | const { connection, localPeers } = api.sbot.obs |
23 | 23 … | |
24 | 24 … | return h('Connection', computed([connection, localPeers()], (connection, localPeers) => { |
25 | - if (localPeers) { | |
25 … | + if (localPeers.length) { | |
26 | 26 … | return h('i.fa.fa-user-circle-o', { |
27 | 27 … | title: 'peers on your local network!', |
28 | 28 … | 'ev-click': () => api.app.sync.goTo('/network'), |
29 | 29 … | className: newMessageClass |
Built with git-ssb-web