From cc60dfd910c630d2b0ae0a7de13baf2026cf95a2 Mon Sep 17 00:00:00 2001 From: Comfy Org PR Bot Date: Thu, 11 Dec 2025 15:08:07 +0900 Subject: [PATCH] [backport cloud/1.34] remove fraction digits on topup credit number (#7349) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Backport of #7345 to `cloud/1.34` Automatically created by backport workflow. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-7349-backport-cloud-1-34-remove-fraction-digits-on-topup-credit-number-2c66d73d365081f1a635e7a4b55cfaf0) by [Unito](https://www.unito.io) Co-authored-by: Christian Byrne --- 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 04424baf0..396df4819 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 })