From e844e27593d9bcd912ec8e86959bdceb5ba42bb7 Mon Sep 17 00:00:00 2001 From: John McCardle Date: Fri, 14 Jan 2022 14:46:02 -0500 Subject: [PATCH] feat: fix main currency display format; closes #90 --- components/KeyArtStage.vue | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/components/KeyArtStage.vue b/components/KeyArtStage.vue index 690ab24..0417133 100644 --- a/components/KeyArtStage.vue +++ b/components/KeyArtStage.vue @@ -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: {