mirror of
https://github.com/zadam/trilium.git
synced 2025-10-26 07:46:30 +01:00
fix filling sync table after demo document import
This commit is contained in:
@@ -199,7 +199,7 @@ class TreeCache {
|
||||
getNotesFromCache(noteIds, silentNotFoundError = false) {
|
||||
return noteIds.map(noteId => {
|
||||
if (!this.notes[noteId] && !silentNotFoundError) {
|
||||
console.log(`Can't find note "${noteId}"`);
|
||||
console.trace(`Can't find note "${noteId}"`);
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -83,7 +83,7 @@ function fillSyncRows(entityName, entityPrimaryKey, condition = '') {
|
||||
entityId: entityId,
|
||||
sourceId: "SYNC_FILL",
|
||||
utcSyncDate: dateUtils.utcNowDateTime(),
|
||||
isSynced: true
|
||||
isSynced: 1
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user