From 2b7923b4f41ec6f8d08c17b2c4a4930e95387e1c Mon Sep 17 00:00:00 2001
From: Jason <jason.daurus@gmail.com>
Date: Sat, 25 Jun 2016 02:18:52 +0800
Subject: [web] fix actions

---
 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 23f8b3ea..a94458a1 100644
--- a/web/src/js/components/FlowView.jsx
+++ b/web/src/js/components/FlowView.jsx
@@ -75,7 +75,7 @@ export default class FlowView extends Component {
 
     render() {
         const tabs = this.getTabs()
-        let { flow, tab: active } = this.props
+        let { flow, tab: active, onUpdate } = this.props
 
         if (tabs.indexOf(active) < 0) {
             if (active === 'response' && flow.error) {
@@ -97,7 +97,7 @@ export default class FlowView extends Component {
                     active={active}
                     onSelectTab={this.selectTab}
                 />
-                <Tab ref="tab" flow={flow}/>
+                <Tab ref="tab" flow={flow} onUpdate={onUpdate} />
                 {this.state.prompt && (
                     <Prompt {...this.state.prompt}/>
                 )}
-- 
cgit v1.2.3

