mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-07 00:20:07 +00:00
[backport cloud/1.35] Fix: Restore assets API short-circuit in WidgetSelectDropdown (#7568)
Backport of #7563 to `cloud/1.35` Automatically created by backport workflow. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-7568-backport-cloud-1-35-Fix-Restore-assets-API-short-circuit-in-WidgetSelectDropdown-2cb6d73d3650811bb2e7dc9c3f914600) by [Unito](https://www.unito.io) Co-authored-by: Alexander Brown <drjkl@comfy.org>
This commit is contained in:
@@ -146,6 +146,9 @@ const outputItems = computed<DropdownItem[]>(() => {
|
||||
})
|
||||
|
||||
const allItems = computed<DropdownItem[]>(() => {
|
||||
if (props.isAssetMode && assetData) {
|
||||
return assetData.dropdownItems.value
|
||||
}
|
||||
return [...inputItems.value, ...outputItems.value]
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user