rusackas commented on a change in pull request #14492:
URL: https://github.com/apache/superset/pull/14492#discussion_r627614898
##########
File path: superset-frontend/src/middleware/loggerMiddleware.js
##########
@@ -116,7 +116,11 @@ const loggerMiddleware = store => next => action => {
};
}
- if (eventData.target_id && dashboardLayout.present) {
+ if (
+ eventData.target_id &&
+ dashboardLayout.present &&
+ dashboardLayout.present[eventData.target_id]
Review comment:
```suggestion
dashboardLayout.present?.[eventData.target_id]
```
Nice suggestion @simcha90 - adding as a code suggestion here so the commit
is just a click away for @geido :)
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]