From 5f3a07597febafe223dd992696d567df72618e53 Mon Sep 17 00:00:00 2001 From: Christian Byrne Date: Wed, 10 Dec 2025 21:51:24 -0800 Subject: [PATCH] remove fraction digits on topup credit number (#7345) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary Don't show fraction digits on credits in the topup dialog. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-7345-remove-fraction-digits-on-topup-credit-number-2c66d73d365081028ef8cf73113dd20c) by [Unito](https://www.unito.io) --- src/components/common/UserCredit.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/common/UserCredit.vue b/src/components/common/UserCredit.vue index 04424baf0a..396df48198 100644 --- a/src/components/common/UserCredit.vue +++ b/src/components/common/UserCredit.vue @@ -64,7 +64,8 @@ const formattedCreditsOnly = computed(() => { const cents = authStore.balance?.amount_micros ?? 0 const amount = formatCreditsFromCents({ cents, - locale: locale.value + locale: locale.value, + numberOptions: { minimumFractionDigits: 0, maximumFractionDigits: 0 } }) return amount })