Skip to content

Commit 5fbf7fc

Browse files
committed
Instance page: fix props.tableData
1 parent 3e63af4 commit 5fbf7fc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/client/components/facet_results/ObjectListCollapsible.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import classNames from 'classnames'
1111

1212
const styles = () => ({
1313
resultTableList: props => ({
14-
maxHeight: props.tableData.paginatedResultsRowContentMaxHeight
14+
maxHeight: props.tableData && props.tableData.paginatedResultsRowContentMaxHeight
1515
? props.tableData.paginatedResultsRowContentMaxHeight
1616
: 200,
1717
overflow: 'auto'

src/client/components/facet_results/StringList.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import classNames from 'classnames'
77

88
const styles = theme => ({
99
resultTableList: props => ({
10-
maxHeight: props.tableData.paginatedResultsRowContentMaxHeight
10+
maxHeight: props.tableData && props.tableData.paginatedResultsRowContentMaxHeight
1111
? props.tableData.paginatedResultsRowContentMaxHeight
1212
: 200,
1313
overflow: 'auto'

0 commit comments

Comments
 (0)