Commit 309084f7 authored by Sonja Happ's avatar Sonja Happ

add some todos

parent 5e4c26f6
...@@ -86,7 +86,7 @@ class Dashboard extends Component { ...@@ -86,7 +86,7 @@ class Dashboard extends Component {
} }
} }
// TODO create list of infrastructure components in use
return { return {
dashboard, dashboard,
...@@ -110,7 +110,6 @@ class Dashboard extends Component { ...@@ -110,7 +110,6 @@ class Dashboard extends Component {
} }
static getNewWidgetKey() { static getNewWidgetKey() {
const widgetKey = this.lastWidgetKey; const widgetKey = this.lastWidgetKey;
this.lastWidgetKey++; this.lastWidgetKey++;
...@@ -128,7 +127,9 @@ class Dashboard extends Component { ...@@ -128,7 +127,9 @@ class Dashboard extends Component {
param: '?dashboardID=' + this.state.dashboard.id param: '?dashboardID=' + this.state.dashboard.id
}); });
// TODO open websockets in componentDidMount
// TODO close websockets in componentWillUnmount
} }
handleKeydown(e) { handleKeydown(e) {
...@@ -264,7 +265,7 @@ class Dashboard extends Component { ...@@ -264,7 +265,7 @@ class Dashboard extends Component {
deleteWidget(widget, index) { deleteWidget(widget, index) {
AppDispatcher.dispatch({ AppDispatcher.dispatch({
type: 'widgets/start-remove', type: 'widgets/start-remove',
data: widget, data: widget,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment