diff --git a/src/components/EnhancedSearch.js b/src/components/EnhancedSearch.js index d3d43dc..e2cc4f6 100644 --- a/src/components/EnhancedSearch.js +++ b/src/components/EnhancedSearch.js @@ -42,7 +42,7 @@ const styles = theme => ({ class EnhancedSearch extends Component { render() { - const {query, onUpdateQuery, onColumnChange} = this.props; + const {query, onUpdateQuery, onColumnChange, textComponent} = this.props; const { classes } = this.props; return ( @@ -62,6 +62,7 @@ class EnhancedSearch extends Component { startAdornment: , }} /> + {textComponent}
{this.props.showSearchColumns && this.props.columns.map(column => ( {}, onDelete: () => {}, onMultipleDelete: () => {}, + description: '' }; /** @@ -81,8 +82,6 @@ class EnhancedTable extends Component { }; }).sort(sortBy('name')) }; - - this.handleRequestSort('', this.props.orderBy); } handleRequestSort = (event, property) => { @@ -254,6 +253,7 @@ class EnhancedTable extends Component { return (
+ + + + + + + ); + return (
@@ -367,14 +377,6 @@ class AmbassadorsPage extends Component { Loading ): (
-

- - - - - -

- this.closeMapsModal()} @@ -396,6 +398,7 @@ class AmbassadorsPage extends Component {