Skip to content
This repository has been archived by the owner on Dec 13, 2020. It is now read-only.

Commit

Permalink
hotfix for codeclimate #1335
Browse files Browse the repository at this point in the history
  • Loading branch information
wiadev committed Nov 17, 2017
1 parent 37bfdc8 commit 35ec501
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/table/TableItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,8 @@ class TableItem extends Component {
changeListenOnTrue();
}}
disableOnClickOutside={edited !== property}
onKeyDown = {(!mainTable || forceKeysBind || isEditable) ?
onKeyDown = {(!mainTable || forceKeysBind ||
isEditable) ?
(e) => this.handleKey(e, property) : null
}
onCellChange={onItemChange}
Expand Down

0 comments on commit 35ec501

Please sign in to comment.