From 3a0bb91b771574264f6e190912bc39a009c24128 Mon Sep 17 00:00:00 2001 From: zadam Date: Fri, 16 Feb 2024 11:25:23 +0100 Subject: [PATCH] fix --- src/public/app/services/hoisted_note.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/public/app/services/hoisted_note.js b/src/public/app/services/hoisted_note.js index 267f3e4e9d..d6a3916de7 100644 --- a/src/public/app/services/hoisted_note.js +++ b/src/public/app/services/hoisted_note.js @@ -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);