This repository was archived by the owner on Jun 24, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 11import server from "../services/server.js" ;
22import noteAttributeCache from "../services/note_attribute_cache.js" ;
33import ws from "../services/ws.js" ;
4- import froca from "../services/froca.js" ;
54import protectedSessionHolder from "../services/protected_session_holder.js" ;
65import cssClassManager from "../services/css_class_manager.js" ;
76import type { Froca } from "../services/froca-interface.js" ;
@@ -410,8 +409,8 @@ class FNote {
410409 const notePaths : NotePathRecord [ ] = this . getAllNotePaths ( ) . map ( ( path ) => ( {
411410 notePath : path ,
412411 isInHoistedSubTree : isHoistedRoot || path . includes ( hoistedNoteId ) ,
413- isArchived : path . some ( ( noteId ) => froca . notes [ noteId ] . isArchived ) ,
414- isSearch : path . some ( ( noteId ) => froca . notes [ noteId ] . type === "search" ) ,
412+ isArchived : path . some ( ( noteId ) => this . froca . notes [ noteId ] . isArchived ) ,
413+ isSearch : path . some ( ( noteId ) => this . froca . notes [ noteId ] . type === "search" ) ,
415414 isHidden : path . includes ( "_hidden" )
416415 } ) ) ;
417416
@@ -982,7 +981,7 @@ class FNote {
982981 continue ;
983982 }
984983
985- const parentNote = froca . notes [ parentNoteId ] ;
984+ const parentNote = this . froca . notes [ parentNoteId ] ;
986985
987986 if ( ! parentNote || parentNote . type === "search" ) {
988987 continue ;
You can’t perform that action at this time.
0 commit comments