1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00

Desktop: Regression: Fixed adding a new sub-notebook to a notebook

This commit is contained in:
Laurent Cozic 2020-07-14 18:56:02 +00:00
parent d0b3e15999
commit b770ffda4d

View File

@ -287,7 +287,7 @@ class SideBarComponent extends React.Component {
if (itemType === BaseModel.TYPE_FOLDER && !item.encryption_applied) {
menu.append(
new MenuItem(CommandService.instance().commandToMenuItem('newNotebook', null, itemId)),
new MenuItem(CommandService.instance().commandToMenuItem('newNotebook', null, { parentId: itemId })),
);
}