Merge pull request #385 from strotter/fix-browser-example

_replicationInfo no longer exists and breaks the browser example code.
This commit is contained in:
Haad 2018-06-25 08:04:21 +03:00 committed by GitHub
commit 8e6e91cc58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -255,7 +255,7 @@ const main = (IPFS, ORBITDB) => {
outputElm.innerHTML = `
<div><b>Peer ID:</b> ${orbitdb.id}</div>
<div><b>Peers (database/network):</b> ${databasePeers.length} / ${networkPeers.length}</div>
<div><b>Oplog Size:</b> ${db._replicationInfo.progress} / ${db._replicationInfo.max}</div>
<div><b>Oplog Size:</b> ${db._replicationStatus.progress} / ${db._replicationStatus.max}</div>
<h2>Results</h2>
<div id="results">
<div>