19069: Add workflow details
[arvados-workbench2.git] / src / models / workflow.ts
index 00dfaa1085c3527b43140b0d05b6fd373eb0e577..6d21dbc766381831a1e048529913e77f51784a38 100644 (file)
@@ -153,7 +153,7 @@ export const getWorkflowInputs = (workflowDefinition: WorkflowResourceDefinition
 };
 
 export const getInputLabel = (input: CommandInputParameter) => {
-    return `${input.label || input.id}`;
+    return `${input.label || input.id.split('/').pop()}`;
 };
 
 export const isRequiredInput = ({ type }: CommandInputParameter) => {