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:
parent
10143c9198
commit
48c75f7b21
1 changed files with 2 additions and 1 deletions
|
@ -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 } });
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue