mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
renamed noteCache into becca
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
"use strict";
|
||||
|
||||
const NoteSet = require('../note_set');
|
||||
const noteCache = require('../../note_cache/note_cache');
|
||||
const becca = require('../../note_cache/note_cache');
|
||||
const Expression = require('./expression');
|
||||
|
||||
class AttributeExistsExp extends Expression {
|
||||
@@ -15,8 +15,8 @@ class AttributeExistsExp extends Expression {
|
||||
|
||||
execute(inputNoteSet) {
|
||||
const attrs = this.prefixMatch
|
||||
? noteCache.findAttributesWithPrefix(this.attributeType, this.attributeName)
|
||||
: noteCache.findAttributes(this.attributeType, this.attributeName);
|
||||
? becca.findAttributesWithPrefix(this.attributeType, this.attributeName)
|
||||
: becca.findAttributes(this.attributeType, this.attributeName);
|
||||
|
||||
const resultNoteSet = new NoteSet();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user