fix(client/search): note IDs being calculated recursively in table

This commit is contained in:
Elian Doran 2025-10-20 17:14:26 +03:00
parent 929eee1350
commit c7224bc0d1
No known key found for this signature in database

View File

@ -140,7 +140,7 @@ export function useNoteIds(note: FNote | null | undefined, viewType: ViewTypeOpt
}
async function getNoteIds(note: FNote) {
if (viewType === "list" || viewType === "grid") {
if (viewType === "list" || viewType === "grid" || viewType === "table") {
return note.getChildNoteIds();
} else {
return await note.getSubtreeNoteIds(includeArchived);