We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76ecfd0 commit 45cca9eCopy full SHA for 45cca9e
ReactNativeClient/lib/models/Folder.js
@@ -121,6 +121,7 @@ class Folder extends BaseItem {
121
let parentId = noteCount.folder_id;
122
do {
123
let folder = foldersById[parentId];
124
+ if (!folder) break; // https://github.com/laurent22/joplin/issues/2079
125
folder.note_count = (folder.note_count || 0) + noteCount.note_count;
126
parentId = folder.parent_id;
127
} while (parentId);
0 commit comments