mirror of
https://github.com/zadam/trilium.git
synced 2025-11-16 10:15:52 +01:00
don't sync recent_notes
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
const noteCache = require('./note_cache');
|
||||
const log = require('../log');
|
||||
const noteCacheService = require('./note_cache_service.js');
|
||||
const dateUtils = require('../date_utils');
|
||||
const repository = require('../repository');
|
||||
@@ -333,7 +334,7 @@ async function findSimilarNotes(noteId) {
|
||||
let value = attr.value;
|
||||
let factor = 1;
|
||||
|
||||
if (!value) {
|
||||
if (!value.startsWith) {
|
||||
log.info(`Unexpected falsy value for attribute ${JSON.stringify(attr.pojo)}`);
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user