From a7bfea51e587f0edda6804f32f512f7ace9b5aed Mon Sep 17 00:00:00 2001 From: Dan J Miller Date: Tue, 6 Feb 2018 14:50:37 -0330 Subject: Integration tests for signature requests confirmations. (#3194) --- development/selector.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'development/selector.js') diff --git a/development/selector.js b/development/selector.js index c466905ca..fd387df15 100644 --- a/development/selector.js +++ b/development/selector.js @@ -11,7 +11,14 @@ function NewComponent () { NewComponent.prototype.render = function () { const props = this.props - let { states, selectedKey, actions, store } = props + let { + states, + selectedKey, + actions, + store, + modifyBackgroundConnection, + backGroundConnectionModifiers, + } = props const state = this.state || {} const selected = state.selected || selectedKey @@ -23,6 +30,8 @@ NewComponent.prototype.render = function () { value: selected, onChange:(event) => { const selectedKey = event.target.value + const backgroundConnectionModifier = backGroundConnectionModifiers[selectedKey] + modifyBackgroundConnection(backgroundConnectionModifier || {}) store.dispatch(actions.update(selectedKey)) this.setState({ selected: selectedKey }) }, -- cgit v1.2.3