Skip to content

Commit

Permalink
[Custom population search] Fix unselecting a saved population
Browse files Browse the repository at this point in the history
  • Loading branch information
valtterikantanen committed Nov 19, 2024
1 parent 4ee0f74 commit 0c54ef5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export const CustomPopulationSearch = ({ setCustomPopulationState }) => {
/>
</Form>
<SearchHistory
handleSearch={({ id }) => onSelectSearch(id)}
handleSearch={selected => onSelectSearch(selected?.id)}
header="Saved populations"
items={searches.map(search => ({
...search,
Expand Down

0 comments on commit 0c54ef5

Please sign in to comment.