mirror of
https://git.rwth-aachen.de/acs/public/villas/web/
synced 2025-03-09 00:00:01 +01:00
remove a log comment, fix indentation
This commit is contained in:
parent
86af9c8f7f
commit
95c735de9b
1 changed files with 6 additions and 7 deletions
|
@ -310,13 +310,12 @@ class Dashboard extends Component {
|
|||
startEditing(){
|
||||
this.state.widgets.forEach( widget => {
|
||||
if(widget.type === 'Slider' || widget.type === 'NumberInput' || widget.type === 'Button'){
|
||||
console.log("we should move in here");
|
||||
AppDispatcher.dispatch({
|
||||
type: 'widgets/start-edit',
|
||||
token: this.state.sessionToken,
|
||||
data: widget
|
||||
});
|
||||
}
|
||||
AppDispatcher.dispatch({
|
||||
type: 'widgets/start-edit',
|
||||
token: this.state.sessionToken,
|
||||
data: widget
|
||||
});
|
||||
}
|
||||
});
|
||||
this.setState({ editing: true });
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue