fix missing plus symbol issue when there are unsupported currencies of sub accounts

This commit is contained in:
MaysWind
2023-07-16 23:56:56 +08:00
parent 2cfac7a772
commit 6b0cf5aa96
+4
View File
@@ -577,6 +577,10 @@ export const useAccountsStore = defineStore('accounts', {
return null;
}
if (hasUnCalculatedAmount) {
totalBalance += '+';
}
return {
balance: showAccountBalance ? totalBalance : '***',
currency: resultCurrency