Merge branch 'master' into mongo

This commit is contained in:
Jan Prochazka
2021-04-05 13:30:31 +02:00
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", "name": "dbgate-tools",
"main": "lib/index.js", "main": "lib/index.js",
"typings": "lib/index.d.ts", "typings": "lib/index.d.ts",

View File

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