Ctrl-K disponible dès la simulation
parent
f48d0af3eb
commit
c76f22a39b
|
@ -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 ? (
|
||||
<Overlay onClose={this.close}>
|
||||
<h2>
|
||||
|
@ -47,7 +47,7 @@ export default compose(
|
|||
rules={flatRules}
|
||||
/>
|
||||
</Overlay>
|
||||
) : (
|
||||
) : invisibleButton ? null : (
|
||||
<button
|
||||
className="ui__ simple small button"
|
||||
onClick={() => this.setState({ visible: true })}>
|
||||
|
|
|
@ -11,6 +11,7 @@ import { firstStepCompletedSelector } from 'Selectors/analyseSelectors'
|
|||
import { simulationProgressSelector } from 'Selectors/progressSelectors'
|
||||
import * as Animate from 'Ui/animate'
|
||||
import Progress from 'Ui/Progress'
|
||||
import SearchButton from 'Components/SearchButton'
|
||||
|
||||
export default connect(state => ({
|
||||
firstStepCompleted: firstStepCompletedSelector(state),
|
||||
|
@ -24,6 +25,7 @@ export default connect(state => ({
|
|||
return (
|
||||
<>
|
||||
<TargetSelection />
|
||||
<SearchButton invisibleButton />
|
||||
{firstStepCompleted && (
|
||||
<>
|
||||
<Animate.fromTop>
|
||||
|
|
Loading…
Reference in New Issue