Skip to content

Commit

Permalink
fix: add maxHeight back to default props
Browse files Browse the repository at this point in the history
  • Loading branch information
crfmc committed Jul 3, 2024
1 parent fcf67be commit 1155a06
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions es/components/browse/components/SearchResultTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -1432,5 +1432,7 @@ _defineProperty(SearchResultTable, "defaultProps", {
'fullWidthContainerSelectorString': '.browse-page-container',
'currentAction': null,
'isOwnPage': true,
'maxHeight': 400,
// Used only if isOwnPage is false; todo: maybe move this defaultProp definition higher up into EmbeddedSearchView and leave null here.
'isContextLoading': false // Used only if isOwnPage is false
});
1 change: 1 addition & 0 deletions src/components/browse/components/SearchResultTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -1146,6 +1146,7 @@ export class SearchResultTable extends React.Component {
'fullWidthContainerSelectorString' : '.browse-page-container',
'currentAction' : null,
'isOwnPage' : true,
'maxHeight' : 400, // Used only if isOwnPage is false; todo: maybe move this defaultProp definition higher up into EmbeddedSearchView and leave null here.
'isContextLoading' : false // Used only if isOwnPage is false
};

Expand Down

0 comments on commit 1155a06

Please sign in to comment.