From c76f22a39b738f135467a4b4ce65e1c7a978106d Mon Sep 17 00:00:00 2001 From: Mael Date: Tue, 9 Jul 2019 16:44:38 +0200 Subject: [PATCH] =?UTF-8?q?Ctrl-K=20disponible=20d=C3=A8s=20la=20simulatio?= =?UTF-8?q?n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/components/SearchButton.js | 4 ++-- source/components/Simulation.js | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) 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 : (