Remove TODO

pull/10616/head
Andrew Watkins 2017-08-02 14:15:00 -07:00
parent cc34b9c978
commit a9249e04e0
1 changed files with 1 additions and 2 deletions

View File

@ -184,8 +184,7 @@ export const putDashboardByID = dashboardID => async (dispatch, getState) => {
export const updateDashboardCell = (dashboard, cell) => async dispatch => {
try {
const {data} = await updateDashboardCellAJAX(cell)
// TODO: remove yRanges when server persists the ranges
dispatch(syncDashboardCell(dashboard, {...data, yRanges: cell.yRanges}))
dispatch(syncDashboardCell(dashboard, data))
} catch (error) {
console.error(error)
dispatch(errorThrown(error))