get dashboards to load correctly

pull/10616/head
Jade McGough 2017-01-13 17:20:48 -08:00
parent 8e8f768b2d
commit dc04c9d5e4
1 changed files with 2 additions and 2 deletions

View File

@ -10,9 +10,9 @@ const DashboardsPage = React.createClass({
},
componentDidMount() {
getDashboards().then((dashboards) => {
getDashboards().then((resp) => {
this.setState({
dashboards,
dashboards: resp.data.dashboards,
});
});
},