mirror of
https://github.com/twentyhq/twenty.git
synced 2024-09-11 15:35:36 +03:00
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:
parent
14abd99bb7
commit
38537a3967
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user