mirror of https://github.com/zulip/zulip.git
user_group_pill: Remove unnecessary truthy filter on user_ids.
The filter was not doing anything to the user_id array, not sure why it
was introduced in ce4cf66f3f
.
This commit is contained in:
parent
ffd49ac35b
commit
c7e59ed761
|
@ -57,7 +57,6 @@ export function get_user_ids(pill_widget: UserGroupPillWidget | CombinedPillCont
|
|||
user_ids = [...new Set(user_ids)];
|
||||
user_ids.sort((a, b) => a - b);
|
||||
|
||||
user_ids = user_ids.filter(Boolean);
|
||||
return user_ids;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue