mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-24 02:04:04 +08:00
Consistently parse content id for workflow modules when updating states
This commit is contained in:
@@ -314,7 +314,7 @@ export default {
|
||||
},
|
||||
setData(data) {
|
||||
this.config_form = data.config_form;
|
||||
this.content_id = data.config_form?.id || data.content_id || this.content_id;
|
||||
this.content_id = data.content_id;
|
||||
this.tool_state = data.tool_state;
|
||||
this.errors = data.errors;
|
||||
this.tooltip = data.tooltip || "";
|
||||
|
||||
@@ -699,6 +699,7 @@ class WorkflowsAPIController(BaseGalaxyAPIController, UsesStoredWorkflowMixin, U
|
||||
'annotation': inputs.get('__annotation', ''),
|
||||
'name': module.get_name(),
|
||||
'tool_state': module.get_state(),
|
||||
'content_id': module.get_content_id(),
|
||||
'inputs': module.get_all_inputs(connectable_only=True),
|
||||
'outputs': module.get_all_outputs(),
|
||||
'config_form': module.get_config_form(),
|
||||
|
||||
Reference in New Issue
Block a user