I can show WorkflowDesigner tab
I
This commit is contained in:
@@ -20,3 +20,11 @@ class WorkflowsCommandManager(BaseCommandManager):
|
||||
"hx-target": f"#w_{self._id}",
|
||||
"hx-vals": f'js:{{"_id": "{self._id}", "tab_id": "{tab_id}", "tab_boundaries": getTabContentBoundaries("{self._owner.tabs_manager.get_id()}")}}',
|
||||
}
|
||||
|
||||
def show_workflow(self, workflow_name):
|
||||
return {
|
||||
"hx_post": f"{ROUTE_ROOT}{Routes.ShowWorkflow}",
|
||||
"hx-target": f"#{self._owner.tabs_manager.get_id()}",
|
||||
"hx-swap": "outerHTML",
|
||||
"hx-vals": f'js:{{"_id": "{self._id}", "name": "{workflow_name}", "tab_boundaries": getTabContentBoundaries("{self._owner.tabs_manager.get_id()}")}}',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user