mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
UI changes for Direct messages and Bad connection
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
"EnableOutgoingWebhooks": true,
|
||||
"EnablePostUsernameOverride": false,
|
||||
"EnablePostIconOverride": false,
|
||||
"EnableTesting": false,
|
||||
"EnableTesting": true,
|
||||
"EnableSecurityFixAlert": true
|
||||
},
|
||||
"TeamSettings": {
|
||||
|
||||
@@ -50,6 +50,10 @@ export default class MoreDirectChannels extends React.Component {
|
||||
handleFilterChange() {
|
||||
const filter = ReactDOM.findDOMNode(this.refs.filter).value;
|
||||
|
||||
if ($(window).width() > 768) {
|
||||
$(ReactDOM.findDOMNode(this.refs.userList)).scrollTop(0);
|
||||
}
|
||||
|
||||
if (filter !== this.state.filter) {
|
||||
this.setState({filter});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user