Don't serialize the toolbox in requests, pulling it from persistedstate and doesn't respect default panel view.

This commit is contained in:
John Chilton
2021-08-11 10:14:43 -04:00
parent 5473bdd6b2
commit 9bf22b4e69
2 changed files with 0 additions and 2 deletions
-1
View File
@@ -307,7 +307,6 @@ class JSAppLauncher(BaseUIController):
config = {
'active_view': 'analysis',
'enable_webhooks': True if trans.app.webhooks_registry.webhooks else False,
'toolbox': trans.app.toolbox.to_dict(trans),
'message_box_visible': trans.app.config.message_box_visible,
'show_inactivity_warning': trans.app.config.user_activation_on and trans.user and not trans.user.active,
'tool_shed_urls': list(trans.app.tool_shed_registry.tool_sheds.values()) if trans.app.tool_shed_registry else [],
@@ -724,7 +724,6 @@ class WorkflowController(BaseUIController, SharableMixin, UsesStoredWorkflowMixi
'tags': item_tag_names,
'initialVersion': version,
'annotation': self.get_item_annotation_str(trans.sa_session, trans.user, stored),
'toolbox': trans.app.toolbox.to_dict(trans),
'moduleSections': module_sections,
'dataManagers': data_managers,
'workflows': workflows