summaryrefslogtreecommitdiff
path: root/app/client/common
diff options
context:
space:
mode:
Diffstat (limited to 'app/client/common')
-rw-r--r--app/client/common/select.component.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/client/common/select.component.js b/app/client/common/select.component.js
index d08ae60..c7fa93c 100644
--- a/app/client/common/select.component.js
+++ b/app/client/common/select.component.js
@@ -13,7 +13,7 @@ class Select extends Component {
this.props.onChange && this.props.onChange(this.props.name, new_value)
}
render() {
- const currentValue = this.props.opt[this.props.name]
+ const currentValue = this.props.live ? this.props.opt[this.props.name] : this.props.value
let lastValue
const options = (this.props.options || []).map((key,i) => {
let name, value