Merge branch 'master' into mongo

This commit is contained in:
Jan Prochazka 2021-04-05 13:30:31 +02:00
commit 6c2ee5ffdb
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,5 @@
{
"version": "4.0.3-rc.1",
"version": "4.0.3",
"name": "dbgate-tools",
"main": "lib/index.js",
"typings": "lib/index.d.ts",

View File

@ -359,7 +359,7 @@
grider.endUpdate();
}
export function insertNewRow() {
export async function insertNewRow() {
if (grider.canInsert) {
const rowIndex = grider.insertRow();
const cell = [rowIndex, (currentCell && currentCell[1]) || 0];
@ -367,6 +367,7 @@
currentCell = cell;
// @ts-ignore
selectedCells = [cell];
await tick();
scrollIntoView(cell);
}
}