mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
org settings: Use people.get_active_human_persons to get active humans.
This commit is contained in:
committed by
Tim Abbott
parent
16357fc84a
commit
2bcd21aeca
@@ -389,9 +389,7 @@ exports.set_up = function () {
|
||||
var li = $(e.currentTarget).closest('li');
|
||||
var bot_id = li.find('.bot_info').attr('data-user-id').valueOf();
|
||||
var bot = bot_data.get(bot_id);
|
||||
var users_list = people.get_realm_persons().filter(function (person) {
|
||||
return !person.is_bot;
|
||||
});
|
||||
var users_list = people.get_active_human_persons();
|
||||
$("#edit_bot").empty();
|
||||
$("#edit_bot").append(templates.render('edit_bot', {bot: bot,
|
||||
users_list: users_list}));
|
||||
|
||||
Reference in New Issue
Block a user