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:
parent
5e4c26f6af
commit
309084f73c
1 changed files with 4 additions and 3 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue