Add South Korean won to currency codes (#5914)
Greetings from Seoul! I found this amazing project a few days ago, and trying to introduce it to my team. However there is a tiny but significant problem, that South Korean won is not available in twenty. So I added `KRW` to the enum `CurrencyCode` and the constant `SETTINGS_FIELD_CURRENCY_CODES`. I tested it locally and apparently works fine.
This commit is contained in:
@ -14,4 +14,5 @@ export enum CurrencyCode {
|
||||
MAD = 'MAD',
|
||||
QAR = 'QAR',
|
||||
AED = 'AED',
|
||||
KRW = 'KRW',
|
||||
}
|
||||
|
||||
@ -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,
|
||||
},
|
||||
};
|
||||
|
||||
@ -61,6 +61,7 @@ export {
|
||||
IconCurrencyKroneSwedish,
|
||||
IconCurrencyPound,
|
||||
IconCurrencyRiyal,
|
||||
IconCurrencyWon,
|
||||
IconCurrencyYen,
|
||||
IconCurrencyYuan,
|
||||
IconDatabase,
|
||||
|
||||
Reference in New Issue
Block a user