get dashboards to load correctly
parent
8e8f768b2d
commit
dc04c9d5e4
|
@ -10,9 +10,9 @@ const DashboardsPage = React.createClass({
|
|||
},
|
||||
|
||||
componentDidMount() {
|
||||
getDashboards().then((dashboards) => {
|
||||
getDashboards().then((resp) => {
|
||||
this.setState({
|
||||
dashboards,
|
||||
dashboards: resp.data.dashboards,
|
||||
});
|
||||
});
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue