kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
Merge branch 'detailed-status-menu' into 'develop'
Don't show menu items requiring auth when not authenticated for detailed statuses See merge request soapbox-pub/soapbox-fe!907strip-front-mentions
commit
01cd832680
|
@ -337,6 +337,7 @@ class ActionBar extends React.PureComponent {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (me) {
|
||||||
menu.push(null);
|
menu.push(null);
|
||||||
|
|
||||||
if (ownAccount) {
|
if (ownAccount) {
|
||||||
|
@ -456,6 +457,7 @@ class ActionBar extends React.PureComponent {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
const canShare = ('share' in navigator) && status.get('visibility') === 'public';
|
const canShare = ('share' in navigator) && status.get('visibility') === 'public';
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue