feat: fix main currency display format; closes #90
This commit is contained in:
parent
7bdbc36800
commit
e844e27593
|
@ -27,10 +27,7 @@
|
||||||
export default {
|
export default {
|
||||||
computed: {
|
computed: {
|
||||||
currencyText() {
|
currencyText() {
|
||||||
if (this.$store.state.currency.greaterThan(1e7)) {
|
return this.$store.getters.suffixedDecimalText(this.$store.state.currency)
|
||||||
return this.$store.state.currency.toString()
|
|
||||||
}
|
|
||||||
return Math.floor(this.$store.state.currency)
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
Reference in New Issue