mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-14 01:25:37 -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 {
|
||||
try {
|
||||
// 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);
|
||||
}
|
||||
} finally {
|
||||
|
||||
Reference in New Issue
Block a user