From: Stephen Smith Date: Thu, 4 Nov 2021 00:57:53 +0000 (-0400) Subject: 18123: Allow hiding search box while actions are present for group details. X-Git-Tag: 2.4.0~22^2~30 X-Git-Url: https://git.arvados.org/arvados-workbench2.git/commitdiff_plain/d6c180028671059f19912a11887b804e9d63d608 18123: Allow hiding search box while actions are present for group details. Arvados-DCO-1.1-Signed-off-by: Stephen Smith --- 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 {title &&
{title}
} - {(!hideColumnSelector || !hideSearchInput) && + {(!hideColumnSelector || !hideSearchInput || !!actions) && -
+ {!hideSearchInput &&
{!hideSearchInput && } -
+
} {actions} {!hideColumnSelector && - -
- } paperProps={{ elevation: 0, }} />