diff --git a/source/components/SearchButton.js b/source/components/SearchButton.js
index f90ed1e7d..0cdf4a962 100644
--- a/source/components/SearchButton.js
+++ b/source/components/SearchButton.js
@@ -35,7 +35,7 @@ export default compose(
}
close = () => this.setState({ visible: false })
render() {
- let { flatRules } = this.props
+ let { flatRules, invisibleButton } = this.props
return this.state.visible ? (
@@ -47,7 +47,7 @@ export default compose(
rules={flatRules}
/>
- ) : (
+ ) : invisibleButton ? null : (