From 9d89a405cf091a3e5046128c9b274a76cb44ddb4 Mon Sep 17 00:00:00 2001 From: Comfy Org PR Bot Date: Sun, 8 Feb 2026 13:30:25 +0900 Subject: [PATCH] [backport cloud/1.38] fix: show credit balance for unsubscribed personal workspaces (#8738) Backport of #8719 to `cloud/1.38` Automatically created by backport workflow. Co-authored-by: Hunter --- src/components/topbar/CurrentUserPopoverWorkspace.vue | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/components/topbar/CurrentUserPopoverWorkspace.vue b/src/components/topbar/CurrentUserPopoverWorkspace.vue index 74e8425bf..64ea81191 100644 --- a/src/components/topbar/CurrentUserPopoverWorkspace.vue +++ b/src/components/topbar/CurrentUserPopoverWorkspace.vue @@ -254,9 +254,6 @@ const isLoadingBalance = isLoading const displayedCredits = computed(() => { if (initState.value !== 'ready') return '' - // Wait for subscription to load - if (subscription.value === null) return '' - if (!isActiveSubscription.value) return '0' // API field is named _micros but contains cents (naming inconsistency) const cents = @@ -343,9 +340,7 @@ const toggleWorkspaceSwitcher = (event: MouseEvent) => { } const refreshBalance = () => { - if (isActiveSubscription.value) { - void fetchBalance() - } + void fetchBalance() } defineExpose({ refreshBalance })