Skip to content

Commit

Permalink
fix: create directory by Enter
Browse files Browse the repository at this point in the history
  • Loading branch information
walborn committed Jul 1, 2024
1 parent 19ac927 commit c9579aa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export function CreateDirectoryDialog(props: SchemaTreeProps) {
};

return (
<Dialog open={open} onClose={handleClose}>
<Dialog open={open} onClose={handleClose} onEnterKeyDown={handleSubmit}>
<Dialog.Header caption={i18n('schema.tree.dialog.header')} />
<Dialog.Body className={b('modal')}>
<div className={b('label')}>
Expand Down

0 comments on commit c9579aa

Please sign in to comment.