Commit 0849c871 authored by Sudheer's avatar Sudheer Committed by Carlos Tadeu Panato Junior

MM-11170 Fix to remove unknown users from LHS (#1412)

* Use id as fallback if user is not found in state to atleast delete
parent b6c1461f
...@@ -77,6 +77,8 @@ function makeMapStateToProps() { ...@@ -77,6 +77,8 @@ function makeMapStateToProps() {
channelTeammateId = teammate.id; channelTeammateId = teammate.id;
channelTeammateDeletedAt = teammate.delete_at; channelTeammateDeletedAt = teammate.delete_at;
channelTeammateUsername = teammate.username; channelTeammateUsername = teammate.username;
} else {
channelTeammateId = channel.teammate_id;
} }
channelDisplayName = displayUsername(teammate, teammateNameDisplay); channelDisplayName = displayUsername(teammate, teammateNameDisplay);
......
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