mirror of
https://github.com/irislib/iris-messenger.git
synced 2024-10-19 06:33:32 +00:00
.
This commit is contained in:
parent
0841bad436
commit
68d270be06
@ -126,7 +126,7 @@ class Settings extends View {
|
|||||||
<button id="reset-peers" style="margin-bottom: 15px" onClick=${() => this.resetPeersClicked()}>${t('restore_defaults')}</button>
|
<button id="reset-peers" style="margin-bottom: 15px" onClick=${() => this.resetPeersClicked()}>${t('restore_defaults')}</button>
|
||||||
`: ''}
|
`: ''}
|
||||||
${urls.map(url => {
|
${urls.map(url => {
|
||||||
const peer = PeerManager.getKnownPeers()[url];
|
const peer = PeerManager.getKnownPeers()[url] || {};
|
||||||
const peerFromGun = this.state.peersFromGun && this.state.peersFromGun[url];
|
const peerFromGun = this.state.peersFromGun && this.state.peersFromGun[url];
|
||||||
const connected = peerFromGun && peerFromGun.wire && peerFromGun.wire.hied === 'hi';
|
const connected = peerFromGun && peerFromGun.wire && peerFromGun.wire.hied === 'hi';
|
||||||
return html`
|
return html`
|
||||||
|
Loading…
Reference in New Issue
Block a user