Skip to content

The open alternative to Salesforce, designed for AI.

Add South Korean won to currency codes (#5914)

Hanch Han38537a39671a
diff --git a/packages/twenty-front/src/modules/object-record/record-field/types/CurrencyCode.ts b/packages/twenty-front/src/modules/object-record/record-field/types/CurrencyCode.ts
index e039734d71d..673b6b7cb26 100644
--- a/packages/twenty-front/src/modules/object-record/record-field/types/CurrencyCode.ts
+++ b/packages/twenty-front/src/modules/object-record/record-field/types/CurrencyCode.ts
@@ -14,4 +14,5 @@ export enum CurrencyCode {
MAD = 'MAD',
QAR = 'QAR',
AED = 'AED',
+ KRW = 'KRW',
}
diff --git a/packages/twenty-front/src/modules/settings/data-model/constants/SettingsFieldCurrencyCodes.ts b/packages/twenty-front/src/modules/settings/data-model/constants/SettingsFieldCurrencyCodes.ts
index 87729dd4341..da235b1100d 100644
--- a/packages/twenty-front/src/modules/settings/data-model/constants/SettingsFieldCurrencyCodes.ts
+++ b/packages/twenty-front/src/modules/settings/data-model/constants/SettingsFieldCurrencyCodes.ts
@@ -9,6 +9,7 @@ import {
IconCurrencyKroneSwedish,
IconCurrencyPound,
IconCurrencyRiyal,
+ IconCurrencyWon,
IconCurrencyYen,
IconCurrencyYuan,
} from 'twenty-ui';
@@ -79,4 +80,8 @@ export const SETTINGS_FIELD_CURRENCY_CODES: Record<
label: 'UAE dirham',
Icon: IconCurrencyDirham,
},
+ KRW: {
+ label: 'South Korean won',
+ Icon: IconCurrencyWon,
+ },
};
diff --git a/packages/twenty-ui/src/display/icon/components/TablerIcons.ts b/packages/twenty-ui/src/display/icon/components/TablerIcons.ts
index fe3ee775974..c4262154cf3 100644
--- a/packages/twenty-ui/src/display/icon/components/TablerIcons.ts
+++ b/packages/twenty-ui/src/display/icon/components/TablerIcons.ts
@@ -61,6 +61,7 @@ export {
IconCurrencyKroneSwedish,
IconCurrencyPound,
IconCurrencyRiyal,
+ IconCurrencyWon,
IconCurrencyYen,
IconCurrencyYuan,
IconDatabase,