suddjian commented on a change in pull request #9088: [dashboard] Fix metadata
state
URL:
https://github.com/apache/incubator-superset/pull/9088#discussion_r375578403
##########
File path: superset/assets/src/dashboard/reducers/getInitialState.js
##########
@@ -280,10 +280,7 @@ export default function(bootstrapData) {
dashboardInfo: {
id: dashboard.id,
slug: dashboard.slug,
- metadata: {
- timed_refresh_immune_slices:
- dashboard.metadata.timed_refresh_immune_slices,
- },
+ metadata: dashboard.metadata,
Review comment:
@graceguo-supercat The fix here is to include all the data contained in the
`json_metadata` blob, so any other fields you're concerned about will be
included as long as they are in that object.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]