mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Allow switching to private channels with /join command (#6579)
This commit is contained in:
@@ -22,9 +22,7 @@ export default class ConfirmModal extends React.Component {
|
||||
}
|
||||
|
||||
componentWillUnmount() {
|
||||
if (!this.props.show) {
|
||||
document.removeEventListener('keypress', this.handleKeypress);
|
||||
}
|
||||
document.removeEventListener('keypress', this.handleKeypress);
|
||||
}
|
||||
|
||||
componentWillReceiveProps(nextProps) {
|
||||
|
||||
Reference in New Issue
Block a user