eschutho commented on a change in pull request #18131:
URL: https://github.com/apache/superset/pull/18131#discussion_r806346778
##########
File path: superset-frontend/src/reports/reducers/reports.js
##########
@@ -94,7 +53,7 @@ export default function reportsReducer(state = {}, action) {
...state,
charts: {
...state.chart,
- [report.id]: report,
+ [result.chart]: report,
Review comment:
can we do the same thing with these actions where we dry up some of the
code to look up the chart or dashboard like above? Maybe in the next PR.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]