Vitor-Avila commented on code in PR #30875:
URL: https://github.com/apache/superset/pull/30875#discussion_r1838323544
##########
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:
I agree it's not ideal, but this is consistent with other places we assess
if it's an embedded user or not.
--
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]