diff --git a/web/src/controllers/MetricController/MetricViewChart/MetricEditController/MetricStylingApp/StylingAppVisualize/SelectAxis/SelectAxisColumnContent/EditCurrency.tsx b/web/src/controllers/MetricController/MetricViewChart/MetricEditController/MetricStylingApp/StylingAppVisualize/SelectAxis/SelectAxisColumnContent/EditCurrency.tsx index 3212ff39a..ebdcc1525 100644 --- a/web/src/controllers/MetricController/MetricViewChart/MetricEditController/MetricStylingApp/StylingAppVisualize/SelectAxis/SelectAxisColumnContent/EditCurrency.tsx +++ b/web/src/controllers/MetricController/MetricViewChart/MetricEditController/MetricStylingApp/StylingAppVisualize/SelectAxis/SelectAxisColumnContent/EditCurrency.tsx @@ -19,7 +19,9 @@ export const EditCurrency: React.FC<{ label: (
{currency.flag}
- {currency.description} + + {currency.description} ({currency.code}) +
), value: currency.code, @@ -37,8 +39,6 @@ export const EditCurrency: React.FC<{ onUpdateColumnConfig({ currency: value }); }); - console.log(selectedCurrency); - return (
@@ -47,8 +47,8 @@ export const EditCurrency: React.FC<{ items={options} disabled={!isFetched} onChange={onChange} + defaultValue={selectedCurrency?.value} className="w-full!" - // filterOption={onFilterOption} />