diff --git a/superset-frontend/src/reports/reducers/reports.js b/superset-frontend/src/reports/reducers/reports.js index d4d12d9c556a7..1896250f5cdeb 100644 --- a/superset-frontend/src/reports/reducers/reports.js +++ b/superset-frontend/src/reports/reducers/reports.js @@ -68,7 +68,7 @@ export default function reportsReducer(state = {}, action) { ...action.json.result, id: action.json.id, }; - const reportId = report.dashboard || report.chart; + const reportTypeId = report.dashboard || report.chart; return { ...state,