added force note sync functionality to context menu

This commit is contained in:
azivner
2017-12-30 21:44:26 -05:00
parent a8e45019e4
commit fdcc833f6d
4 changed files with 37 additions and 3 deletions

View File

@@ -24,8 +24,8 @@ async function addOptionsSync(optName, sourceId) {
await addEntitySync("options", optName, sourceId);
}
async function addRecentNoteSync(notePath, sourceId) {
await addEntitySync("recent_notes", notePath, sourceId);
async function addRecentNoteSync(noteTreeId, sourceId) {
await addEntitySync("recent_notes", noteTreeId, sourceId);
}
async function addEntitySync(entityName, entityId, sourceId) {