Remove TODO
parent
cc34b9c978
commit
a9249e04e0
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue