[ARVADOS-WORKBENCH2] updated: 2.2.1-119-ged19351f

Git user git at public.arvados.org
Thu Nov 4 00:59:04 UTC 2021


Summary of changes:
 src/components/data-explorer/data-explorer.tsx        |  6 +++---
 src/views/group-details-panel/group-details-panel.tsx | 10 ----------
 2 files changed, 3 insertions(+), 13 deletions(-)

       via  ed19351f9705c4c2d5a9c4e4b74672ca89b18ccd (commit)
      from  db354daa7825bd4c91e9b06ed81e6c83e1e1c999 (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 ed19351f9705c4c2d5a9c4e4b74672ca89b18ccd
Author: Stephen Smith <stephen at curii.com>
Date:   Wed Nov 3 20:57:53 2021 -0400

    18123: Allow hiding search box while actions are present for group details.
    
    Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen at curii.com>

diff --git a/src/components/data-explorer/data-explorer.tsx b/src/components/data-explorer/data-explorer.tsx
index d272e870..f3cccfce 100644
--- a/src/components/data-explorer/data-explorer.tsx
+++ b/src/components/data-explorer/data-explorer.tsx
@@ -98,14 +98,14 @@ export const DataExplorer = withStyles(styles)(
             } = this.props;
             return <Paper className={classes.root} {...paperProps} key={paperKey}>
                 {title && <div className={classes.title}>{title}</div>}
-                {(!hideColumnSelector || !hideSearchInput) && <Toolbar className={title ? classes.toolbarUnderTitle : classes.toolbar}>
+                {(!hideColumnSelector || !hideSearchInput || !!actions) && <Toolbar className={title ? classes.toolbarUnderTitle : classes.toolbar}>
                     <Grid container justify="space-between" wrap="nowrap" alignItems="center">
-                        <div className={classes.searchBox}>
+                        {!hideSearchInput && <div className={classes.searchBox}>
                             {!hideSearchInput && <SearchInput
                                 label={searchLabel}
                                 value={searchValue}
                                 onSearch={onSearch} />}
-                        </div>
+                        </div>}
                         {actions}
                         {!hideColumnSelector && <ColumnSelector
                             columns={columns}
diff --git a/src/views/group-details-panel/group-details-panel.tsx b/src/views/group-details-panel/group-details-panel.tsx
index f292b97b..c402ebb6 100644
--- a/src/views/group-details-panel/group-details-panel.tsx
+++ b/src/views/group-details-panel/group-details-panel.tsx
@@ -180,16 +180,6 @@ export const GroupDetailsPanel = connect(
                           contextMenuColumn={true}
                           hideColumnSelector
                           hideSearchInput
-                          actions={
-                              <Grid container justify='flex-end'>
-                                  <Button
-                                      variant="contained"
-                                      color="primary"
-                                      onClick={this.props.onAddUser}>
-                                      <AddIcon /> Add user
-                              </Button>
-                              </Grid>
-                          }
                           paperProps={{
                               elevation: 0,
                           }} />

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list