1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/web/ synced 2025-03-09 00:00:01 +01:00

fix edit widget signal bug: backend now accepts PUT request

This commit is contained in:
Laura Fuentes Grau 2020-03-22 17:58:40 +01:00
parent 10143c9198
commit 48c75f7b21

View file

@ -39,8 +39,9 @@ class EditWidgetSignalControl extends Component {
handleSignalChange(e){
let tempSignal = parseInt(e.target.value,10);
let newSignal = [];
newSignal.push(e.target.value);
newSignal.push(tempSignal);
this.props.handleChange({ target: { id: this.props.controlId, value: newSignal } });