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:
@@ -1,6 +1,6 @@
|
||||
"use strict";
|
||||
|
||||
const noteCacheService = require('../../services/note_cache/note_cache_service');
|
||||
const beccaService = require('../../services/note_cache/note_cache_service');
|
||||
const searchService = require('../../services/search/services/search.js');
|
||||
const repository = require('../../services/repository');
|
||||
const log = require('../../services/log');
|
||||
@@ -58,8 +58,8 @@ function getRecentNotes(activeNoteId) {
|
||||
return recentNotes.map(rn => {
|
||||
const notePathArray = rn.notePath.split('/');
|
||||
|
||||
const noteTitle = noteCacheService.getNoteTitle(notePathArray[notePathArray.length - 1]);
|
||||
const notePathTitle = noteCacheService.getNoteTitleForPath(notePathArray);
|
||||
const noteTitle = beccaService.getNoteTitle(notePathArray[notePathArray.length - 1]);
|
||||
const notePathTitle = beccaService.getNoteTitleForPath(notePathArray);
|
||||
|
||||
return {
|
||||
notePath: rn.notePath,
|
||||
|
||||
Reference in New Issue
Block a user