mirror of https://github.com/zulip/zulip.git
edit_bot: Include current bot owner to bot owner dropdown.
This commit is contained in:
parent
d221cb92c6
commit
72e628ffdf
|
@ -419,8 +419,6 @@ export function show_edit_bot_info_modal(user_id, from_user_info_popover) {
|
||||||
|
|
||||||
function get_options() {
|
function get_options() {
|
||||||
const user_ids = people.get_active_human_ids();
|
const user_ids = people.get_active_human_ids();
|
||||||
// Remove current owner.
|
|
||||||
user_ids.splice(user_ids.indexOf(owner_id), 1);
|
|
||||||
return user_ids.map((user_id) => ({
|
return user_ids.map((user_id) => ({
|
||||||
name: people.get_full_name(user_id),
|
name: people.get_full_name(user_id),
|
||||||
unique_id: user_id,
|
unique_id: user_id,
|
||||||
|
|
Loading…
Reference in New Issue