mistercrunch commented on code in PR #30875:
URL: https://github.com/apache/superset/pull/30875#discussion_r1833602228
##########
superset-frontend/src/dashboard/components/Header/index.jsx:
##########
@@ -496,6 +496,7 @@ class Header extends PureComponent {
const refreshWarning =
dashboardInfo.common?.conf
?.SUPERSET_DASHBOARD_PERIODICAL_REFRESH_WARNING_MESSAGE;
+ const isEmbedded = !dashboardInfo?.userId;
Review Comment:
[non blocking] curious whether there's a more explicit way to check whether
we're in an embedded context?
--
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]