Fix for undefined tableRowLabel

This commit is contained in:
jpellizzari
2017-02-10 10:58:15 -08:00
parent cc59b4736e
commit 7b7d59ab24

View File

@@ -271,7 +271,7 @@ export function getSearchableFields(nodes) {
const tableRowLabels = nodes.reduce((labels, node) => (
labels.union(get(node, 'tables').flatMap(t => (t.get('rows') || makeList)
.map(f => f.get('label'))
.map(f => f.getIn(['entries', 'label']))
))
), makeSet());