mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +01:00
refactored "sync" table to "entity_changes"
This commit is contained in:
@@ -49,7 +49,7 @@ async function createNote(parentNoteId, options = {}) {
|
||||
window.cutToNote.removeSelection();
|
||||
}
|
||||
|
||||
await ws.waitForMaxKnownSyncId();
|
||||
await ws.waitForMaxKnownEntityChangeId();
|
||||
|
||||
if (options.activate) {
|
||||
const activeTabContext = appContext.tabManager.getActiveTabContext();
|
||||
@@ -91,7 +91,7 @@ function parseSelectedHtml(selectedHtml) {
|
||||
async function duplicateNote(noteId, parentNoteId) {
|
||||
const {note} = await server.post(`notes/${noteId}/duplicate/${parentNoteId}`);
|
||||
|
||||
await ws.waitForMaxKnownSyncId();
|
||||
await ws.waitForMaxKnownEntityChangeId();
|
||||
|
||||
await appContext.tabManager.activateOrOpenNote(note.noteId);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user