From d6c180028671059f19912a11887b804e9d63d608 Mon Sep 17 00:00:00 2001 From: Stephen Smith Date: Wed, 3 Nov 2021 20:57:53 -0400 Subject: [PATCH] 18123: Allow hiding search box while actions are present for group details. Arvados-DCO-1.1-Signed-off-by: Stephen Smith --- 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(-) 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, }} /> -- 2.30.2