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:
parent
d0b3e15999
commit
b770ffda4d
@ -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 })),
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user