diff --git a/src/consts/currency.js b/src/consts/currency.js index f70a92e2..47995dfc 100644 --- a/src/consts/currency.js +++ b/src/consts/currency.js @@ -1,4 +1,4 @@ -const parentAccountCurrencyPlacehodler = '---'; +const parentAccountCurrencyPlaceholder = '---'; const defaultCurrencySymbol = 'ยค'; // ISO 4217 @@ -630,7 +630,7 @@ const allCurrencies = { }; export default { - parentAccountCurrencyPlacehodler: parentAccountCurrencyPlacehodler, + parentAccountCurrencyPlaceholder: parentAccountCurrencyPlaceholder, defaultCurrencySymbol: defaultCurrencySymbol, all: allCurrencies }; diff --git a/src/views/mobile/accounts/AccountEdit.vue b/src/views/mobile/accounts/AccountEdit.vue index ecfc59e6..b1f5b105 100644 --- a/src/views/mobile/accounts/AccountEdit.vue +++ b/src/views/mobile/accounts/AccountEdit.vue @@ -513,7 +513,7 @@ export default { name: self.account.name, icon: self.account.icon, color: self.account.color, - currency: self.account.type === self.$constants.account.allAccountTypes.SingleAccount.toString() ? self.account.currency : self.$constants.currency.parentAccountCurrencyPlacehodler, + currency: self.account.type === self.$constants.account.allAccountTypes.SingleAccount.toString() ? self.account.currency : self.$constants.currency.parentAccountCurrencyPlaceholder, comment: self.account.comment, subAccounts: self.account.type === self.$constants.account.allAccountTypes.SingleAccount.toString() ? null : subAccounts, };