Skip to content

Commit 4c37828

Browse files
authored
fix: show balance if it is enabled on backend (#43)
1 parent 6364166 commit 4c37828

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/store/modules/account.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const getters = {
5353
type,
5454
}
5555
},
56-
isBalance() {
56+
isBalance(state, getters) {
5757
const BALANCE_HIDDEN = '-'
5858
return getters.balance.sum && getters.balance.sum !== BALANCE_HIDDEN
5959
},

0 commit comments

Comments
 (0)