mirror of
https://github.com/zadam/trilium.git
synced 2025-01-16 12:08:03 +08:00
fix filling sync table after demo document import
This commit is contained in:
parent
749791f6d1
commit
5a5ea4f474
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue