Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zadam committed Feb 16, 2024
1 parent 157f894 commit 3a0bb91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/public/app/services/hoisted_note.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 3a0bb91

Please sign in to comment.