mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 11:26:15 +01:00
functionality to fill up / cleanup sync rows compared to the entity rows
This commit is contained in:
@@ -154,6 +154,7 @@ settings.addModule((async function () {
|
||||
|
||||
settings.addModule((async function () {
|
||||
const forceFullSyncButton = $("#force-full-sync-button");
|
||||
const fillSyncRowsButton = $("#fill-sync-rows-button");
|
||||
|
||||
forceFullSyncButton.click(async () => {
|
||||
await server.post('sync/force-full-sync');
|
||||
@@ -161,6 +162,12 @@ settings.addModule((async function () {
|
||||
showMessage("Full sync triggered");
|
||||
});
|
||||
|
||||
fillSyncRowsButton.click(async () => {
|
||||
await server.post('sync/fill-sync-rows');
|
||||
|
||||
showMessage("Sync rows filled successfully");
|
||||
});
|
||||
|
||||
return {};
|
||||
})());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user