mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 03:16:11 +01:00
renamed noteCache into becca
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
const repository = require('./repository');
|
||||
const sql = require('./sql');
|
||||
const noteCache = require('./note_cache/note_cache');
|
||||
const becca = require('./note_cache/note_cache');
|
||||
const Attribute = require('../entities/attribute');
|
||||
|
||||
const ATTRIBUTE_TYPES = [ 'label', 'relation' ];
|
||||
@@ -75,7 +75,7 @@ function getNoteIdsWithLabels(names) {
|
||||
const noteIds = new Set();
|
||||
|
||||
for (const name of names) {
|
||||
for (const attr of noteCache.findAttributes('label', name)) {
|
||||
for (const attr of becca.findAttributes('label', name)) {
|
||||
noteIds.add(attr.noteId);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user