diff --git a/ReactNativeClient/lib/models/Folder.js b/ReactNativeClient/lib/models/Folder.js index b445d2a41..d995d46b7 100644 --- a/ReactNativeClient/lib/models/Folder.js +++ b/ReactNativeClient/lib/models/Folder.js @@ -223,6 +223,8 @@ class Folder extends BaseItem { static async expandTree(folders, parentId) { const folderPath = await this.folderPath(folders, parentId); + folderPath.pop(); // We don't expand the leaft notebook + for (const folder of folderPath) { this.dispatch({ type: 'FOLDER_SET_COLLAPSED',