feat: fix main currency display format; closes #90

This commit is contained in:
John McCardle 2022-01-14 14:46:02 -05:00
parent 7bdbc36800
commit e844e27593
1 changed files with 1 additions and 4 deletions

View File

@ -27,10 +27,7 @@
export default {
computed: {
currencyText() {
if (this.$store.state.currency.greaterThan(1e7)) {
return this.$store.state.currency.toString()
}
return Math.floor(this.$store.state.currency)
return this.$store.getters.suffixedDecimalText(this.$store.state.currency)
},
},
methods: {