Fix embed dropdown menu item for unauthenticated users (#25964)
This commit is contained in:
1 parent
644c5fddd8
commit
41f65edb21
10 files changed
+194
-76
No files matched your search
@@ -205,7 +205,7 @@ class ActionBar extends PureComponent {
|
||||
menu.push({ text: intl.formatMessage(messages.share), action: this.handleShare });
|
||||
}
|
||||
|
||||
if (publicStatus) {
|
||||
if (publicStatus && (signedIn || !isRemote)) {
|
||||
menu.push({ text: intl.formatMessage(messages.embed), action: this.handleEmbed });
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user