From a9249e04e0b9e65d8d0fc7242855b8611ee21263 Mon Sep 17 00:00:00 2001 From: Andrew Watkins <watts@influxdb.com> Date: Wed, 2 Aug 2017 14:15:00 -0700 Subject: [PATCH] Remove TODO --- ui/src/dashboards/actions/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ui/src/dashboards/actions/index.js b/ui/src/dashboards/actions/index.js index d128589af9..205d017cb2 100644 --- a/ui/src/dashboards/actions/index.js +++ b/ui/src/dashboards/actions/index.js @@ -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))