Fix reaction patch, take 1
This commit is contained in:
parent
d5ccbab8d5
commit
0c9d3ab65a
@ -228,17 +228,6 @@ class ActionBar extends PureComponent {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const canReact = signedIn && status.get('reactions').filter(r => r.get('count') > 0 && r.get('me')).size < maxReactions;
|
|
||||||
const reactButton = (
|
|
||||||
<IconButton
|
|
||||||
className='plus-icon'
|
|
||||||
onClick={this.handleNoOp} // EmojiPickerDropdown handles that
|
|
||||||
title={intl.formatMessage(messages.react)}
|
|
||||||
disabled={!canReact}
|
|
||||||
icon='plus'
|
|
||||||
/>
|
|
||||||
);
|
|
||||||
|
|
||||||
let replyIcon;
|
let replyIcon;
|
||||||
let replyIconComponent;
|
let replyIconComponent;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user