Skip to content

Commit

Permalink
fix: update the reading also on falsy values
Browse files Browse the repository at this point in the history
  • Loading branch information
tkurki committed Mar 8, 2018
1 parent 4c8e800 commit ce8cb13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ui/widgets/digitalcomponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module.exports = React.createClass({
if (this.props.valueStream) {
this.unsubscribe = this.props.valueStream.onValue(function(value) {
this.setState({
value: displayValue(value) || this.state.valueStream
value: displayValue(value)
});
}.bind(this));
}
Expand Down

0 comments on commit ce8cb13

Please sign in to comment.