Commit cb631916 authored by Chris's avatar Chris Committed by GitHub

fix js error in dm add user modal (#437)

parent 8ca4b12f
...@@ -322,7 +322,7 @@ export default class MoreDirectChannels extends React.Component { ...@@ -322,7 +322,7 @@ export default class MoreDirectChannels extends React.Component {
let users = this.state.users || []; let users = this.state.users || [];
if (this.state.values.length) { if (this.state.values.length) {
users = this.state.users.filter((user) => user.delete_at === 0 && user.id !== this.props.currentUserId); users = users.filter((user) => user.delete_at === 0 && user.id !== this.props.currentUserId);
} else { } else {
const active = []; const active = [];
const inactive = []; const inactive = [];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment