Fix audio upload when no audio in input dir (#3891)
This commit is contained in:
parent
4f9d2b057c
commit
5ff3d4eb3a
|
@ -145,7 +145,9 @@ app.registerExtension({
|
|||
)
|
||||
}
|
||||
// Initially load default audio file to audioUIWidget.
|
||||
onAudioWidgetUpdate()
|
||||
if (audioWidget.value) {
|
||||
onAudioWidgetUpdate()
|
||||
}
|
||||
audioWidget.callback = onAudioWidgetUpdate
|
||||
|
||||
const fileInput = document.createElement("input")
|
||||
|
|
Loading…
Reference in New Issue