mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 11:26:15 +01:00
added force note sync functionality to context menu
This commit is contained in:
@@ -13,4 +13,10 @@ async function syncNow() {
|
||||
|
||||
showError("Sync failed: " + result.message);
|
||||
}
|
||||
}
|
||||
|
||||
async function forceNoteSync(noteId) {
|
||||
const result = await server.post('sync/force-note-sync/' + noteId);
|
||||
|
||||
showMessage("Note added to sync queue.");
|
||||
}
|
||||
Reference in New Issue
Block a user