From 1155a0644eb0ce19389d5fa71e63238e2ade30ab Mon Sep 17 00:00:00 2001 From: Cesar Ferreyra-Mansilla Date: Wed, 3 Jul 2024 10:10:57 -0400 Subject: [PATCH] fix: add maxHeight back to default props --- es/components/browse/components/SearchResultTable.js | 2 ++ src/components/browse/components/SearchResultTable.js | 1 + 2 files changed, 3 insertions(+) diff --git a/es/components/browse/components/SearchResultTable.js b/es/components/browse/components/SearchResultTable.js index 8394d0a5..a28ca628 100644 --- a/es/components/browse/components/SearchResultTable.js +++ b/es/components/browse/components/SearchResultTable.js @@ -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 }); \ No newline at end of file diff --git a/src/components/browse/components/SearchResultTable.js b/src/components/browse/components/SearchResultTable.js index 59f5fd47..61658c44 100644 --- a/src/components/browse/components/SearchResultTable.js +++ b/src/components/browse/components/SearchResultTable.js @@ -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 };