Skip to content

Commit

Permalink
Show original custom country value in scrape
Browse files Browse the repository at this point in the history
  • Loading branch information
WithoutPants committed Oct 14, 2022
1 parent 775e0cd commit 5b45eed
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ui/v2.5/src/components/Shared/ScrapeDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,9 @@ export const ScrapedCountryRow: React.FC<IScrapedCountryRowProps> = ({
result={result}
renderOriginalField={() => (
<FormControl
value={getCountryByISO(result.originalValue, locale)}
value={
getCountryByISO(result.originalValue, locale) ?? result.originalValue
}
readOnly
className="bg-secondary text-white border-secondary"
/>
Expand Down

0 comments on commit 5b45eed

Please sign in to comment.