fix bug on import workflow

This commit is contained in:
numz
2024-10-14 12:42:08 +02:00
parent cf25c9009b
commit fd53153ca8
+2 -2
View File
@@ -583,8 +583,8 @@ app.registerExtension({
//console.log('Workflow:', workflow);
if (data.error == "none"){
const combo = this.widgets.find(w => w.name === "workflows");
combo["values"] += data.file_name;
combo["value"] = data.file_name;
combo.options.values.push(data.file_name);
combo.value = data.file_name;
importWorkflow(this, data.file_name, app)
}else{
alert(data.error)