Don't show menu items requiring auth when not authenticated for detailed statuses
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
8a863d7587
commit
f52b69ebbb
1 changed files with 108 additions and 106 deletions
|
@ -337,6 +337,7 @@ class ActionBar extends React.PureComponent {
|
|||
});
|
||||
}
|
||||
|
||||
if (me) {
|
||||
menu.push(null);
|
||||
|
||||
if (ownAccount) {
|
||||
|
@ -456,6 +457,7 @@ class ActionBar extends React.PureComponent {
|
|||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const canShare = ('share' in navigator) && status.get('visibility') === 'public';
|
||||
|
||||
|
|
Loading…
Reference in a new issue