1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-20 02:48:51 +00:00

Fix bug - rename submit failed when click enter in grid mode (#6363)

This commit is contained in:
Aries
2024-07-17 21:00:10 +08:00
committed by GitHub
parent de3f5bbf3d
commit bc02e2f47d

View File

@@ -65,6 +65,7 @@ class Rename extends React.Component {
handleKeyDown = (e) => {
if (e.key === 'Enter') {
e.preventDefault();
this.handleSubmit();
}
};