Skip to content

Commit

Permalink
refactor(grid): remove unnecessary assignment, #3424
Browse files Browse the repository at this point in the history
  • Loading branch information
ViktorSlavov committed Dec 18, 2018
1 parent beacbf9 commit cf4c70e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions projects/igniteui-angular/src/lib/grids/api.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -605,11 +605,10 @@ export class GridBaseAPIService <T extends IgxGridBaseComponent> {
if (!grid) {
return false;
}
const transactions = grid.transactions;
if (!grid.transactions.enabled) {
return false;
}
const state = transactions.getState(rowID);
const state = grid.transactions.getState(rowID);
if (state) {
return state.type === TransactionType.DELETE;
}
Expand Down

0 comments on commit cf4c70e

Please sign in to comment.