EnxDev commented on code in PR #35265:
URL: https://github.com/apache/superset/pull/35265#discussion_r2524251141


##########
superset-frontend/src/dashboard/reducers/dashboardState.js:
##########
@@ -216,10 +227,17 @@ export default function dashboardStateReducer(state = {}, 
action) {
         .difference(new Set(action.activeTabs))
         .union(new Set(action.inactiveTabs));
 
+      // Track when each tab was last activated
+      const tabActivationTimes = { ...state.tabActivationTimes };

Review Comment:
   After that action.activeTabs.forEach(tabId => {  tabActivationTimes[tabId] = 
Date.now(); });
    (line 234),  but it probably doesn’t have much impact in our case.



-- 
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]

Reply via email to