mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-06 13:40:25 +00:00
[feat] call AssetBrowserModal for whitelisted widgets
This commit is contained in:
@@ -10,7 +10,7 @@ vi.mock('@/stores/dialogStore')
|
||||
interface AssetBrowserProps {
|
||||
nodeType: string
|
||||
inputName: string
|
||||
onAssetSelected?: ReturnType<typeof vi.fn>
|
||||
onAssetSelected?: (filename: string) => void
|
||||
}
|
||||
|
||||
function createAssetBrowserProps(
|
||||
@@ -85,5 +85,6 @@ describe('useAssetBrowserDialog', () => {
|
||||
key: 'global-asset-browser'
|
||||
})
|
||||
})
|
||||
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user