Skip to content

Commit

Permalink
Close favourites popup on select
Browse files Browse the repository at this point in the history
  • Loading branch information
contributeless committed Apr 6, 2021
1 parent 0e1d2bc commit 5603cfb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/OV.React/src/src/views/FavouritesIconsGroup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ export function FavouritesIconsGroup() {
<FavouriteFiltersList
model={({ items: filters.state.favouriteFilters })}
onDelete={filters.deleteFavouriteFilter}
onSelect={filters.setSearchFilterFromFavourites} />
onSelect={(x) => {
setIsPopupOpened(false);
filters.setSearchFilterFromFavourites(x)
}} />
</div>
</Modal>
</div>
Expand Down

0 comments on commit 5603cfb

Please sign in to comment.