mirror of
https://iceshrimp.dev/blueb/Chuckya-fe-standalone.git
synced 2026-01-11 13:33:21 -08:00
properly disable reactions when not logged in
This commit is contained in:
parent
9ad49a191c
commit
b46adb9a1d
13 changed files with 56 additions and 55 deletions
|
|
@ -61,6 +61,7 @@ class Status extends ImmutablePureComponent {
|
|||
|
||||
static contextTypes = {
|
||||
router: PropTypes.object,
|
||||
identity: PropTypes.object,
|
||||
};
|
||||
|
||||
static propTypes = {
|
||||
|
|
@ -830,6 +831,7 @@ class Status extends ImmutablePureComponent {
|
|||
numVisible={visibleReactions}
|
||||
addReaction={this.props.onReactionAdd}
|
||||
removeReaction={this.props.onReactionRemove}
|
||||
canReact={this.context.identity.signedIn}
|
||||
/>
|
||||
|
||||
{!isCollapsed || !(muted || !settings.getIn(['collapsed', 'show_action_bar'])) ? (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue