mirror of
https://github.com/zadam/trilium.git
synced 2025-11-08 04:42:28 +08:00
fix
This commit is contained in:
parent
157f894c9b
commit
3a0bb91b77
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ async function checkNoteAccess(notePath, noteContext) {
|
|||
|
||||
const hoistedNoteId = noteContext.hoistedNoteId;
|
||||
|
||||
if (!resolvedNotePath.includes(hoistedNoteId) && (!resolvedNotePath.includes('_hidden') || resolvedNotePath.includes('_lbBookmarks')) {
|
||||
if (!resolvedNotePath.includes(hoistedNoteId) && (!resolvedNotePath.includes('_hidden') || resolvedNotePath.includes('_lbBookmarks'))) {
|
||||
const requestedNote = await froca.getNote(treeService.getNoteIdFromUrl(resolvedNotePath));
|
||||
const hoistedNote = await froca.getNote(hoistedNoteId);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue