mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-02 17:50:39 +00:00
Check whether tableContent ref is present.
This commit is contained in:
@@ -173,7 +173,7 @@ class NodeDetailsTable extends React.Component {
|
||||
this.focusState = {
|
||||
focusedNode: node,
|
||||
focusedRowIndex: rowIndex,
|
||||
tableContentMinHeightConstraint: this.tableContent.scrollHeight,
|
||||
tableContentMinHeightConstraint: this.tableContent && this.tableContent.scrollHeight,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user