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: duplicate widget in edit mode too, #184

This commit is contained in:
irismarie 2020-11-17 16:52:08 +01:00
parent 797300b2bc
commit efac5b1633

View file

@ -544,6 +544,7 @@ class Dashboard extends Component {
index={parseInt(widgetKey, 10)}
widget={this.state.widgets[widgetKey]}
onEdit={this.editWidget.bind(this)}
onDuplicate={this.duplicateWidget.bind(this)}
onDelete={this.deleteWidget.bind(this)}
onChange={this.widgetChange.bind(this)}