You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/08/06 16:13:24 UTC
[GitHub] [superset] suddjian commented on a change in pull request #16094: fix: Multiple dashboard refresh triggers for the same session
suddjian commented on a change in pull request #16094:
URL: https://github.com/apache/superset/pull/16094#discussion_r684352005
##########
File path: superset-frontend/src/dashboard/actions/hydrate.js
##########
@@ -366,7 +366,8 @@ export const hydrateDashboard = (dashboardData, chartData) => (
directPathLastUpdated: Date.now(),
focusedFilterField: null,
expandedSlices: metadata?.expanded_slices || {},
- refreshFrequency: metadata?.refresh_frequency || 0,
+ refreshFrequency:
+ metadata?.refresh_frequency || dashboardState.refreshFrequency || 0,
Review comment:
I'm not sure about the `|| dashboardState.refreshFrequency` here. If you start at dashboard A (which has refresh), navigate to the dashboard list and then go to dashboard B (which has no refresh) wouldn't B inherit the refresh frequency from A?
--
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: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org