From 276c16e1055c23350abd3d9d071cfce9b4f1b27f Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Fri, 4 Jan 2019 23:37:34 +0100 Subject: rm rotation on homepage, add dataset list --- client/nameSearch/nameSearch.query.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'client/nameSearch') diff --git a/client/nameSearch/nameSearch.query.js b/client/nameSearch/nameSearch.query.js index b82e324b..629b7b1d 100644 --- a/client/nameSearch/nameSearch.query.js +++ b/client/nameSearch/nameSearch.query.js @@ -11,22 +11,22 @@ class NameSearchQuery extends Component { handleInput(value) { this.setState({ q: value }) - if (value.length > 2) { - this.props.actions.search(this.props.payload, value) + if (value.strip().length > 1) { + this.props.actions.search(this.props.payload, value.strip()) } } render() { return (
-

Find Your Name

+

Search by Name

Searching {13456} identities

{'Enter your name to see if you were included in this dataset..'}

this.handleInput(e.target.value)} -- cgit v1.2.3-70-g09d2