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

Commit

Permalink
Merge pull request #1388 from metasfresh/dev-1360-hotfix
Browse files Browse the repository at this point in the history
check if cell is valid #1360
  • Loading branch information
teosarca authored Nov 28, 2017
2 parents b860b40 + bd7443e commit dd9e33f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/table/TableItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ class TableItem extends Component {
const supportFieldEdit = mainTable &&
this.isAllowedFieldEdit(item);
const property = item.fields[0].field;
let isEditable = ((cells[property] &&
let isEditable = ((cells && cells[property] &&
cells[property].viewEditorRenderMode
) || item.viewEditorRenderMode
) === VIEW_EDITOR_RENDER_MODES[2];
Expand Down

0 comments on commit dd9e33f

Please sign in to comment.