From ae7ca8b959e477fec67952c6b2dde569cb62e978 Mon Sep 17 00:00:00 2001 From: mertsincan Date: Tue, 6 Apr 2021 11:21:20 +0300 Subject: [PATCH] Refactor #1942 --- src/components/datatable/TableBody.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/datatable/TableBody.js b/src/components/datatable/TableBody.js index b324601eed..6800dc52b8 100644 --- a/src/components/datatable/TableBody.js +++ b/src/components/datatable/TableBody.js @@ -281,9 +281,9 @@ export class TableBody extends Component { }; selection.push(rangeRowData); - } - this.onSelect({ originalEvent: event.originalEvent, data: rangeRowData, type: 'cell' }); + this.onSelect({ originalEvent: event.originalEvent, data: rangeRowData, type: 'cell' }); + } } return selection; }