mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-01-30 12:59:55 +00:00
## Summary Fix 404 error when adding imported assets to workflow as LoadImage nodes in Cloud mode. ## Changes - **What**: Use `asset_hash` (hash-based filename) instead of `name` (original filename) when creating LoadImage nodes in Cloud mode - **Files**: `useMediaAssetActions.ts` - modified `addWorkflow` and `addMultipleToWorkflow` functions - **Tests**: Added `useMediaAssetActions.test.ts` with Cloud/OSS filename selection tests ## Review Focus - Cloud vs OSS branching logic using `isCloud && asset.asset_hash` 🤖 Generated with [Claude Code](https://claude.ai/code) ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-8200-bugfix-Use-asset_hash-for-LoadImage-node-in-Cloud-mode-2ef6d73d365081d785b0d7a94e73c55e) by [Unito](https://www.unito.io)