diff --git a/app/scenes/Search/components/FilterOptions.js b/app/scenes/Search/components/FilterOptions.js index 9218f7f4c..130a86b0e 100644 --- a/app/scenes/Search/components/FilterOptions.js +++ b/app/scenes/Search/components/FilterOptions.js @@ -86,20 +86,12 @@ const SearchFilter = props => { position="right" > {({ closePortal }) => ( - - {props.children({ closeMenu: closePortal })} - + {props.children({ closeMenu: closePortal })} )} ); }; -const MaxHeightScrollable = styled(Scrollable)` - max-height: 50vh; - margin: -8px 0; - padding: 8px 0; -`; - const DropdownButton = styled(SearchFilter)` margin-right: 8px; `; diff --git a/app/stores/DocumentsStore.js b/app/stores/DocumentsStore.js index a77c7d41d..5bf0944f2 100644 --- a/app/stores/DocumentsStore.js +++ b/app/stores/DocumentsStore.js @@ -319,7 +319,7 @@ export default class DocumentsStore extends BaseStore { existing.splice(options.offset || 0, options.limit || 0, ...results); this.searchCache.set(query, existing); - return data; + return res.data; }; @action