You've already forked joplin
							
							
				mirror of
				https://github.com/laurent22/joplin.git
				synced 2025-10-31 00:07:48 +02:00 
			
		
		
		
	Chore: Fixed bug
This commit is contained in:
		| @@ -544,7 +544,7 @@ export default class Folder extends BaseItem { | ||||
| 	static async allAsTree(folders: FolderEntity[] = null, options: any = null) { | ||||
| 		const all = folders ? folders : await this.all(options); | ||||
|  | ||||
| 		if (options.includeNotes) { | ||||
| 		if (options && options.includeNotes) { | ||||
| 			for (const folder of all) { | ||||
| 				folder.notes = await Note.previews(folder.id); | ||||
| 			} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user