diff --git a/core/src/components/friends-view/core-sync-status.js b/core/src/components/friends-view/core-sync-status.js index 7fe7d3df..534f3a9c 100644 --- a/core/src/components/friends-view/core-sync-status.js +++ b/core/src/components/friends-view/core-sync-status.js @@ -93,6 +93,7 @@ class CoreSyncStatus extends connect(store)(LitElement) { }, 60000) } + async getCoreInfos() { const corInfo = store.getState().app.nodeConfig.knownNodes[store.getState().app.nodeConfig.node] const coreInfoUrl = corInfo.protocol + '://' + corInfo.domain + ':' + corInfo.port @@ -101,12 +102,11 @@ class CoreSyncStatus extends connect(store)(LitElement) { return response.json() }).then(data => { this.coreInfos = data - }).catch(err => { }) } renderSyncStatusIcon() { - if (this.nodeStatus.isSynchronizing === true) { + if (this.nodeStatus.isSynchronizing === true && this.nodeStatus.syncPercent === 99) { return html`