mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-19 01:04:25 +08:00
modify variable name
This commit is contained in:
@@ -47,8 +47,8 @@ export default function ({i18n}, value, currencyCode) {
|
|||||||
if (currencyDisplayMode === 'code') {
|
if (currencyDisplayMode === 'code') {
|
||||||
return `${value} ${currencyCode}`;
|
return `${value} ${currencyCode}`;
|
||||||
} else if (currencyDisplayMode === 'name') {
|
} else if (currencyDisplayMode === 'name') {
|
||||||
const name = i18n.t(`currency.${currencyCode}`);
|
const currencyName = i18n.t(`currency.${currencyCode}`);
|
||||||
return `${value} ${name}`;
|
return `${value} ${currencyName}`;
|
||||||
} else {
|
} else {
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user