kgabryje commented on code in PR #31809:
URL: https://github.com/apache/superset/pull/31809#discussion_r1920556430
##########
superset-frontend/src/dashboard/components/Header/index.jsx:
##########
@@ -651,7 +653,10 @@ const Header = () => {
{userCanEdit && (
<Button
buttonStyle="secondary"
- onClick={toggleEditMode}
+ onClick={() => {
+ toggleEditMode();
+ boundActionCreators.clearDashboardHistory(); // Resets the
`past` as an empty array
Review Comment:
a unit test seems to be failing on this line
--
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]