mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 19:36:12 +01:00
removed annoying "sync update in progress" toast message
This commit is contained in:
@@ -11,6 +11,7 @@ const log = require('../../services/log');
|
||||
const syncOptions = require('../../services/sync_options');
|
||||
const dateUtils = require('../../services/date_utils');
|
||||
const utils = require('../../services/utils');
|
||||
const ws = require('../../services/ws');
|
||||
|
||||
async function testSync() {
|
||||
try {
|
||||
@@ -60,6 +61,9 @@ function checkSync() {
|
||||
function syncNow() {
|
||||
log.info("Received request to trigger sync now.");
|
||||
|
||||
// when explicitly asked for set in progress status immediatelly for faster user feedback
|
||||
ws.syncPullInProgress();
|
||||
|
||||
return syncService.sync();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user