Skip to content

Commit

Permalink
Fixed #552
Browse files Browse the repository at this point in the history
  • Loading branch information
Çağatay Çivici authored and Çağatay Çivici committed Sep 11, 2018
1 parent dde3e1c commit 890f831
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/datatable/TableBody.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export class TableBody extends Component {
}

if(this.props.onRowUnselect) {
this.onRowUnselect({originalEvent: event.originalEvent, data: rowData, type: 'row'});
this.props.onRowUnselect({originalEvent: event.originalEvent, data: rowData, type: 'row'});
}
}
else {
Expand All @@ -82,7 +82,7 @@ export class TableBody extends Component {
if(selected) {
selection = null;
if(this.props.onRowUnselect) {
this.onRowUnselect({originalEvent: event.originalEvent, data: rowData, type: 'row'});
this.props.onRowUnselect({originalEvent: event.originalEvent, data: rowData, type: 'row'});
}
}
else {
Expand Down Expand Up @@ -152,7 +152,7 @@ export class TableBody extends Component {
if(this.isSelected(rowData)) {
selection = null;
if(this.props.onRowUnselect) {
this.onRowUnselect({originalEvent: event.originalEvent, data: rowData, type: 'radio'});
this.props.onRowUnselect({originalEvent: event.originalEvent, data: rowData, type: 'radio'});
}
}
else {
Expand Down

0 comments on commit 890f831

Please sign in to comment.