mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
note cache refactoring WIP
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
"use strict";
|
||||
|
||||
const noteCache = require('./note_cache');
|
||||
const hoistedNoteService = require('../hoisted_note');
|
||||
|
||||
function isNotePathArchived(notePath) {
|
||||
const noteId = notePath[notePath.length - 1];
|
||||
const note = noteCache.notes[noteId];
|
||||
|
||||
Reference in New Issue
Block a user