diff --git a/client/coral-embed-stream/src/components/Embed.js b/client/coral-embed-stream/src/components/Embed.js
index cb4803a2d..a2476527e 100644
--- a/client/coral-embed-stream/src/components/Embed.js
+++ b/client/coral-embed-stream/src/components/Embed.js
@@ -16,8 +16,6 @@ import cn from 'classnames';
export default class Embed extends React.Component {
getTabs() {
- if (!this.props.currentUser) return false;
-
const tabs = [
{t('embed_comments_tab')}
,
-
- {t('framework.my_profile')}
- ,
];
+
+ if (this.props.currentUser) {
+ tabs.push(
+
+ {t('framework.my_profile')}
+
+ );
+ }
+
if (can(this.props.currentUser, 'UPDATE_ASSET_CONFIG')) {
tabs.push(
);
}
+
return tabs;
}