X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/ea0fe5f2c5ff25dd7fcac9edf970e04a653f90ef..59000cfd2934a50da18b5e70fd14f12abd020eb7:/src/components/data-explorer/data-explorer.tsx diff --git a/src/components/data-explorer/data-explorer.tsx b/src/components/data-explorer/data-explorer.tsx index 7c1f9045b4..9f727049b1 100644 --- a/src/components/data-explorer/data-explorer.tsx +++ b/src/components/data-explorer/data-explorer.tsx @@ -50,6 +50,7 @@ interface DataExplorerDataProps { paperProps?: PaperProps; actions?: React.ReactNode; hideSearchInput?: boolean; + header?: React.ReactNode; paperKey?: string; currentItemUuid: string; } @@ -84,11 +85,12 @@ export const DataExplorer = withStyles(styles)( rowsPerPage, rowsPerPageOptions, onColumnToggle, searchValue, onSearch, items, itemsAvailable, onRowClick, onRowDoubleClick, classes, dataTableDefaultView, hideColumnSelector, actions, paperProps, hideSearchInput, - paperKey, fetchMode, currentItemUuid + paperKey, fetchMode, currentItemUuid, header } = this.props; return {(!hideColumnSelector || !hideSearchInput) && + {header &&
{header}
}
{!hideSearchInput &&