Skip to content

Commit

Permalink
fix search by owner id/lot (#154) (#171)
Browse files Browse the repository at this point in the history
remove an hardcoded SEARCH_TYPE.USER that was added in #127.
  • Loading branch information
landryb authored Sep 5, 2022
1 parent 4782ac5 commit 508307a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/extension/components/search/OwnersSearch.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default function OwnersSearch({ loading, onOwnersSearch = () => {}}) {
valid={isSearchValid(currentTab, searchState[currentTab])}
onClear={() => resetFormState(currentTab)}
onSearch={() => {
onOwnersSearch(SEARCH_TYPES.USER, searchState[currentTab]);
onOwnersSearch(currentTab, searchState[currentTab]);
}} />
</div>
);
Expand Down

0 comments on commit 508307a

Please sign in to comment.