mirror of
https://github.com/zadam/trilium.git
synced 2025-11-16 02:05:53 +01:00
removed outstandingPushes counting which is not needed
This commit is contained in:
@@ -130,7 +130,7 @@ function SetupModel() {
|
||||
}
|
||||
|
||||
async function checkOutstandingSyncs() {
|
||||
const { stats, initialized } = await $.get('api/sync/stats');
|
||||
const { outstandingPullCount, initialized } = await $.get('api/sync/stats');
|
||||
|
||||
if (initialized) {
|
||||
if (utils.isElectron()) {
|
||||
@@ -143,9 +143,7 @@ async function checkOutstandingSyncs() {
|
||||
}
|
||||
}
|
||||
else {
|
||||
const totalOutstandingSyncs = stats.outstandingPushes + stats.outstandingPulls;
|
||||
|
||||
$("#outstanding-syncs").html(totalOutstandingSyncs);
|
||||
$("#outstanding-syncs").html(outstandingPullCount);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user