From f2dc7d0f9080e075107252044550f5353ce3b4ce Mon Sep 17 00:00:00 2001 From: Stephen Gornick Date: Mon, 10 Oct 2022 06:13:00 -0500 Subject: [PATCH] Add currencies ETB, GEL, and UGX which Yadio now supports (#275) Add currencies ETB, GEL, and UGX Co-authored-by: Stephen Gornick --- frontend/src/components/FlagWithProps/FlagWithProps.tsx | 3 +++ frontend/static/assets/currencies.json | 3 +++ 2 files changed, 6 insertions(+) diff --git a/frontend/src/components/FlagWithProps/FlagWithProps.tsx b/frontend/src/components/FlagWithProps/FlagWithProps.tsx index bd892df0..501e8009 100644 --- a/frontend/src/components/FlagWithProps/FlagWithProps.tsx +++ b/frontend/src/components/FlagWithProps/FlagWithProps.tsx @@ -84,6 +84,9 @@ const FlagWithProps = ({ code }: Props): JSX.Element => { if (code === 'XAF') flag = ; if (code === 'UAH') flag = ; if (code === 'TND') flag = ; + if (code === 'ETB') flag = ; + if (code === 'GEL') flag = ; + if (code === 'UGX') flag = ; if (code === 'ANY') flag = ; if (code === 'XAU') flag = ; if (code === 'BTC') flag = ; diff --git a/frontend/static/assets/currencies.json b/frontend/static/assets/currencies.json index a5cff02b..b76fd0e0 100644 --- a/frontend/static/assets/currencies.json +++ b/frontend/static/assets/currencies.json @@ -68,6 +68,9 @@ "67": "MAD", "68": "AED", "69": "TND", + "70": "ETB", + "71": "GEL", + "72": "UGX", "300": "XAU", "1000": "BTC" }