Fix asset browser on subgraph ndoes

This commit is contained in:
Austin Mroz
2025-10-23 13:57:24 -07:00
parent 63c91a62fd
commit 375a1c9746

View File

@@ -371,7 +371,7 @@ const addComboWidget = (
'asset',
inputSpec.name,
displayLabel,
async () => {
async function () {
if (!isAssetWidget(widget)) {
throw new Error(`Expected asset widget but received ${widget.type}`)
}
@@ -406,7 +406,7 @@ const addComboWidget = (
}
const oldValue = widget.value
widget.value = validatedFilename.data
this.value = validatedFilename.data
node.onWidgetChanged?.(
widget.name,
validatedFilename.data,