From 7b543dd95c2732be2e704400d9ed04c20d795b56 Mon Sep 17 00:00:00 2001
From: Jason <jason.daurus@gmail.com>
Date: Tue, 5 Jul 2016 13:43:37 -0400
Subject: [web] bug fix

---
 web/src/js/components/FlowView.jsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'web/src/js/components/FlowView.jsx')

diff --git a/web/src/js/components/FlowView.jsx b/web/src/js/components/FlowView.jsx
index 1a04c915..5ba472a5 100644
--- a/web/src/js/components/FlowView.jsx
+++ b/web/src/js/components/FlowView.jsx
@@ -79,7 +79,7 @@ export default class FlowView extends Component {
                     onSelectTab={this.props.selectTab}
                 />
                 <Tab ref={ tab => this.tabComponent = tab } flow={flow} updateFlow={updateFlow} />
-                {this.state.prompt && (
+                {this.props.promptOpen && (
                     <Prompt options={this.getPromptOptions()} done={this.onPromptFinish} />
                 )}
             </div>
@@ -89,7 +89,7 @@ export default class FlowView extends Component {
 
 export default connect(
     state => ({
-        needEdit: state.ui.needEdit,
+        promptOpen: state.ui.promptOpen,
     }),
     {
         setPrompt,
-- 
cgit v1.2.3

