Better node saving/history

This commit is contained in:
Magnus Åhall 2026-06-10 16:37:33 +02:00
parent 3e8d5b6d9a
commit 95a26e67d5
3 changed files with 32 additions and 31 deletions

View file

@ -89,7 +89,7 @@ export class Sync {
nodeStore.setAppState('latest_sync_node', currMax)
} catch (e) {
console.log('sync node tree', e)
console.error('sync node tree', e)
} finally {
syncEnd = Date.now()
const duration = (syncEnd - syncStart) / 1000
@ -235,7 +235,6 @@ export class N2SyncProgress extends CustomHTMLElement {
this.elDownloadTransferred.innerText = this.state.nodesDowloaded
this.elDownloadTotal.innerText = this.state.nodesToDownload
console.log('setting elUploadTransferred', this.state.nodesUploaded)
this.elUploadTransferred.innerText = this.state.nodesUploaded
this.elUploadTotal.innerText = this.state.nodesToUpload
}//}}}