[arvados-workbench2] updated: 2.5.0-103-g781ba416

git repository hosting git at public.arvados.org
Mon Mar 20 19:09:43 UTC 2023


Summary of changes:
 src/views/run-process-panel/inputs/project-input.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

       via  781ba41642ebdf72b1a070d456ade07632bd3a70 (commit)
      from  8e54bebd8a2e59318e50d7dd26ba1b71e1fe20ab (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 781ba41642ebdf72b1a070d456ade07632bd3a70
Author: Stephen Smith <stephen at curii.com>
Date:   Mon Mar 20 15:03:38 2023 -0400

    19969: Fix required condition on project input, make required prop required
    
    Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen at curii.com>

diff --git a/src/views/run-process-panel/inputs/project-input.tsx b/src/views/run-process-panel/inputs/project-input.tsx
index 279e399c..688af4aa 100644
--- a/src/views/run-process-panel/inputs/project-input.tsx
+++ b/src/views/run-process-panel/inputs/project-input.tsx
@@ -24,7 +24,7 @@ export type ProjectCommandInputParameter = GenericCommandInputParameter<ProjectR
 const require: any = (value?: ProjectResource) => (value === undefined);
 
 export interface ProjectInputProps {
-    required?: boolean;
+    required: boolean;
     input: ProjectCommandInputParameter;
     options?: { showOnlyOwned: boolean, showOnlyWritable: boolean };
 }
@@ -37,7 +37,7 @@ export const ProjectInput = ({ required, input, options }: ProjectInputProps) =>
         commandInput={input}
         component={ProjectInputComponent as any}
         format={format}
-        validate={required !== undefined ? require : undefined}
+        validate={required ? require : undefined}
         {...{
             options,
             required

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list