[ARVADOS-WORKBENCH2] updated: 2.2.1-84-g52c68cf3

Git user git at public.arvados.org
Thu Sep 23 21:35:26 UTC 2021


Summary of changes:
 src/components/chips/chips.tsx                               | 9 +++------
 src/views/run-process-panel/inputs/directory-array-input.tsx | 2 +-
 2 files changed, 4 insertions(+), 7 deletions(-)

       via  52c68cf3ac73e4155dcadc6de452e87922afb30c (commit)
      from  441fa734bfe5d3158f19d3172aac9dc09e03b800 (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 52c68cf3ac73e4155dcadc6de452e87922afb30c
Author: Lucas Di Pentima <lucas.dipentima at curii.com>
Date:   Thu Sep 23 18:34:55 2021 -0300

    18116: Some progress in looking for a common solution.
    
    Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima at curii.com>

diff --git a/src/components/chips/chips.tsx b/src/components/chips/chips.tsx
index c4724d1b..267dd482 100644
--- a/src/components/chips/chips.tsx
+++ b/src/components/chips/chips.tsx
@@ -43,13 +43,10 @@ export const Chips = withStyles(styles)(
             </Grid>;
         }
 
-        renderChip = (value: Value, index: number) => {
-            const { deletable, getLabel } = this.props;
-            return <Grid item key={index}>
-                <Chip onDelete={deletable ? this.deleteValue(value) : undefined}
-                    label={getLabel !== undefined ? getLabel(value) : value} />
+        renderChip = (value: Value, index: number) =>
+            <Grid item key={index}>
+                {React.createElement(this.chip, value)}
             </Grid>
-        }
 
         type = 'chip';
 
diff --git a/src/views/run-process-panel/inputs/directory-array-input.tsx b/src/views/run-process-panel/inputs/directory-array-input.tsx
index 1b04718d..7b4be161 100644
--- a/src/views/run-process-panel/inputs/directory-array-input.tsx
+++ b/src/views/run-process-panel/inputs/directory-array-input.tsx
@@ -239,7 +239,7 @@ const DirectoryArrayInputComponent = connect(mapStateToProps)(
                 maxWidth='md' >
                 <DialogTitle>Choose collections</DialogTitle>
                 <DialogContent>
-                    <this.dialogContent />
+                    {React.createElement(this.dialogContent)}
                 </DialogContent>
                 <DialogActions>
                     <Button onClick={this.closeDialog}>Cancel</Button>

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list