exit dialog when pressing enter (#906)
This commit is contained in:
parent
1ea10ca865
commit
6dccf26c43
1 changed files with 1 additions and 0 deletions
|
@ -80,6 +80,7 @@ export function PageOptionsDialog({ page, onOpen, onClose }: PageOptionsDialogPr
|
|||
} else {
|
||||
rInitialName.current = rCurrentName.current
|
||||
app.renamePage(page.id, rCurrentName.current.trim())
|
||||
setIsOpen(false)
|
||||
}
|
||||
|
||||
break
|
||||
|
|
Loading…
Reference in a new issue