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

add some todos

This commit is contained in:
Sonja Happ 2020-04-27 11:48:22 +02:00
parent 5e4c26f6af
commit 309084f73c

View file

@ -86,7 +86,7 @@ class Dashboard extends Component {
}
}
// TODO create list of infrastructure components in use
return {
dashboard,
@ -110,7 +110,6 @@ class Dashboard extends Component {
}
static getNewWidgetKey() {
const widgetKey = this.lastWidgetKey;
this.lastWidgetKey++;
@ -128,7 +127,9 @@ class Dashboard extends Component {
param: '?dashboardID=' + this.state.dashboard.id
});
// TODO open websockets in componentDidMount
// TODO close websockets in componentWillUnmount
}
handleKeydown(e) {
@ -264,7 +265,7 @@ class Dashboard extends Component {
deleteWidget(widget, index) {
AppDispatcher.dispatch({
type: 'widgets/start-remove',
data: widget,