Merge pull request #1198 from influxdata/1196-repair-dashboard-layout-changes

Repair Dashboard Layout Changes
pull/10616/head
Andrew Watkins 2017-04-06 10:57:47 -06:00 committed by GitHub
commit b2fb40daaa
1 changed files with 3 additions and 3 deletions

View File

@ -103,9 +103,9 @@ const DashboardPage = React.createClass({
},
handleUpdatePosition(cells) {
const dashboard = this.getActiveDashboard()
this.props.dashboardActions.updateDashboardCells(dashboard, cells)
this.props.dashboardActions.putDashboard(dashboard)
const newDashboard = {...this.getActiveDashboard(), cells}
this.props.dashboardActions.updateDashboard(newDashboard)
this.props.dashboardActions.putDashboard(newDashboard)
},
handleAddCell() {