Fix grid keybind for submitting new rows not working
This commit is contained in:
parent
c7122448e1
commit
ce004d39d1
|
@ -78,6 +78,11 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
const startAdding = async () => {
|
const startAdding = async () => {
|
||||||
|
// Attempt to submit if already adding a row
|
||||||
|
if (visible && !isAdding) {
|
||||||
|
await addRow()
|
||||||
|
return
|
||||||
|
}
|
||||||
if (visible || !firstColumn) {
|
if (visible || !firstColumn) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue