16073: Add process IO panels with image preview and raw view
[arvados-workbench2.git] / src / models / workflow.ts
index 6d21dbc766381831a1e048529913e77f51784a38..12f253acfe47ec80e50dc65450b84962e1a02f58 100644 (file)
@@ -156,6 +156,10 @@ export const getInputLabel = (input: CommandInputParameter) => {
     return `${input.label || input.id.split('/').pop()}`;
 };
 
+export const getInputId = (input: CommandInputParameter) => {
+    return `${input.id.split('/').pop()}`;
+};
+
 export const isRequiredInput = ({ type }: CommandInputParameter) => {
     if (type instanceof Array) {
         for (const t of type) {