mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Fix crash when reverting in edit data with no changes (#2594)
This commit is contained in:
committed by
Karl Burtram
parent
dc0bc6e606
commit
d156c0be3d
@@ -464,7 +464,7 @@ export class EditDataComponent extends GridParentComponent implements OnInit, On
|
|||||||
} else {
|
} else {
|
||||||
try {
|
try {
|
||||||
// Perform a revert row operation
|
// Perform a revert row operation
|
||||||
if (this.currentCell) {
|
if (this.currentCell && this.currentCell.row !== undefined && this.currentCell.row !== null) {
|
||||||
await this.dataService.revertRow(this.currentCell.row);
|
await this.dataService.revertRow(this.currentCell.row);
|
||||||
}
|
}
|
||||||
} finally {
|
} finally {
|
||||||
|
|||||||
Reference in New Issue
Block a user