From 947b66e60cfd16d0f3e0c12e95b451125c212b7b Mon Sep 17 00:00:00 2001 From: Comfy Org PR Bot Date: Mon, 3 Nov 2025 01:43:14 +0900 Subject: [PATCH] [backport rh-test] Update diffusion_models display to 'Diffusion' in asset browser (#6534) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Backport of #6533 to `rh-test` Automatically created by backport workflow. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-6534-backport-rh-test-Update-diffusion_models-display-to-Diffusion-in-asset-browser-29f6d73d36508110915ddd68923a05c4) by [Unito](https://www.unito.io) Co-authored-by: Christian Byrne Co-authored-by: Christian Byrne Co-authored-by: Claude --- src/platform/assets/utils/categoryLabel.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/platform/assets/utils/categoryLabel.ts b/src/platform/assets/utils/categoryLabel.ts index 354249b2d..e5a655333 100644 --- a/src/platform/assets/utils/categoryLabel.ts +++ b/src/platform/assets/utils/categoryLabel.ts @@ -3,6 +3,9 @@ const ACRONYM_TAGS = new Set(['VAE', 'CLIP', 'GLIGEN']) export function formatCategoryLabel(raw?: string): string { if (!raw) return 'Models' + // Special display name mappings + if (raw === 'diffusion_models') return 'Diffusion' + return raw .split('_') .map((segment) => {