Unverified 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 {
let users = this.state.users || [];
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 {
const active = [];
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