_replicationInfo no longer exists and breaks the example, changing to _replicationStatus to match tests and latest code

This commit is contained in:
Shane Trotter 2018-06-20 10:13:14 -06:00
parent 07fc543ba6
commit 3d4a009a81

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>