From: Stephen Smith Date: Mon, 20 Feb 2023 16:54:43 +0000 (-0500) Subject: 19908: Add optional required flag for project input, make not required for advanced... X-Git-Tag: 2.6.0~15^2 X-Git-Url: https://git.arvados.org/arvados-workbench2.git/commitdiff_plain/5da46a24f0381fb708e8b06f8daba6c9df6cd274 19908: Add optional required flag for project input, make not required for advanced search Arvados-DCO-1.1-Signed-off-by: Stephen Smith --- diff --git a/src/views/run-process-panel/inputs/project-input.tsx b/src/views/run-process-panel/inputs/project-input.tsx index ef6d08f4..97028fc9 100644 --- a/src/views/run-process-panel/inputs/project-input.tsx +++ b/src/views/run-process-panel/inputs/project-input.tsx @@ -24,19 +24,20 @@ export type ProjectCommandInputParameter = GenericCommandInputParameter (value === undefined); export interface ProjectInputProps { + required?: boolean; input: ProjectCommandInputParameter; options?: { showOnlyOwned: boolean, showOnlyWritable: boolean }; } type DialogContentCssRules = 'root' | 'pickerWrapper'; -export const ProjectInput = ({ input, options }: ProjectInputProps) => +export const ProjectInput = ({ required, input, options }: ProjectInputProps) => ; diff --git a/src/views/run-process-panel/run-process-basic-form.tsx b/src/views/run-process-panel/run-process-basic-form.tsx index 32a126a4..a6f7a706 100644 --- a/src/views/run-process-panel/run-process-basic-form.tsx +++ b/src/views/run-process-panel/run-process-basic-form.tsx @@ -40,7 +40,7 @@ export const RunProcessBasicForm = label="Optional description of this workflow run" /> -