Skip to content

Commit

Permalink
fix search results without appelation code
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementLmd committed Sep 17, 2024
1 parent 5581820 commit a91ee46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion front/src/app/components/search/SearchResult.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const SearchResultComponent = ({
linkProps={{
...routes.searchResult({
appellationCode:
preview && appellations.length === 0
preview || appellations.length === 0
? ""
: appellations[0].appellationCode,
siret,
Expand Down

0 comments on commit a91ee46

Please sign in to comment.