Feature #14524
Arvados-DCO-1.1-Signed-off-by: Michal Klobukowski <michal.klobukowski@contractors.roche.com>
name={input.id}
commandInput={input}
component={DirectoryInputComponent}
- format={(value?: Directory) => value ? value.basename : ''}
+ format={format}
parse={(directory: CollectionResource): Directory => ({
class: CWLType.DIRECTORY,
location: `keep:${directory.portableDataHash}`,
: () => undefined,
]} />;
+const format = (value?: Directory) => value ? value.basename : '';
+
interface DirectoryInputComponentState {
open: boolean;