From bd7443e0100ec579e5511ee0f45326e08c68a09a Mon Sep 17 00:00:00 2001 From: wiadev Date: Tue, 28 Nov 2017 16:40:46 +0100 Subject: [PATCH] check if cell is valid #1360 --- src/components/table/TableItem.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/table/TableItem.js b/src/components/table/TableItem.js index 52268299f..9cee64c5f 100644 --- a/src/components/table/TableItem.js +++ b/src/components/table/TableItem.js @@ -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];