From 5a57eb3c5da62e56f9e50d6869f176f4c9c38e09 Mon Sep 17 00:00:00 2001 From: MaysWind Date: Sun, 22 Nov 2020 15:59:23 +0800 Subject: [PATCH] fix typo --- src/consts/currency.js | 4 ++-- src/views/mobile/accounts/AccountEdit.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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, };