From f599b89252fc1bbcf35bf2f73afebba7e8612d41 Mon Sep 17 00:00:00 2001 From: Comfy Org PR Bot Date: Mon, 24 Nov 2025 06:01:48 +0900 Subject: [PATCH] [backport cloud/1.32] Fix: Selected assets count not updating in Imported tab (#6873) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Backport of #6842 to `cloud/1.32` Automatically created by backport workflow. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-6873-backport-cloud-1-32-Fix-Selected-assets-count-not-updating-in-Imported-tab-2b46d73d365081a0992bed6de971d81e) by [Unito](https://www.unito.io) Co-authored-by: Jin Yi --- src/components/sidebar/tabs/AssetsSidebarTab.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/sidebar/tabs/AssetsSidebarTab.vue b/src/components/sidebar/tabs/AssetsSidebarTab.vue index 7543216bd..a69637f3a 100644 --- a/src/components/sidebar/tabs/AssetsSidebarTab.vue +++ b/src/components/sidebar/tabs/AssetsSidebarTab.vue @@ -208,7 +208,7 @@ const shouldShowDeleteButton = computed(() => { const getOutputCount = (item: AssetItem): number => { const count = item.user_metadata?.outputCount - return typeof count === 'number' && count > 0 ? count : 0 + return typeof count === 'number' && count > 0 ? count : 1 } const shouldShowOutputCount = (item: AssetItem): boolean => {