mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 05:15:59 +01:00
#98, sync button now shows total number of outstanding syncs instead of just pushes
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import utils from './utils.js';
|
||||
import infoService from "./info.js";
|
||||
|
||||
const $changesToPushCount = $("#changes-to-push-count");
|
||||
const $outstandingSyncsCount = $("#outstanding-syncs-count");
|
||||
|
||||
const messageHandlers = [];
|
||||
|
||||
@@ -43,7 +43,7 @@ function handleMessage(event) {
|
||||
messageHandler(syncData);
|
||||
}
|
||||
|
||||
$changesToPushCount.html(message.changesToPushCount);
|
||||
$outstandingSyncsCount.html(message.outstandingSyncs);
|
||||
}
|
||||
else if (message.type === 'sync-hash-check-failed') {
|
||||
infoService.showError("Sync check failed!", 60000);
|
||||
|
||||
Reference in New Issue
Block a user