mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 16:14:02 +00:00
edit_bot_form: Remove stale context parameters.
This commit is contained in:
committed by
Tim Abbott
parent
a639bc03a5
commit
7fa8b46c5c
@@ -816,7 +816,6 @@ export function show_edit_bot_info_modal(user_id: number, $container: JQuery): v
|
||||
|
||||
const owner_id = bot_user.owner_id;
|
||||
assert(owner_id !== null);
|
||||
const owner_full_name = people.get_full_name(owner_id);
|
||||
const is_active = people.is_person_active(user_id);
|
||||
|
||||
assert(bot.is_bot);
|
||||
@@ -828,8 +827,6 @@ export function show_edit_bot_info_modal(user_id: number, $container: JQuery): v
|
||||
user_role_values: settings_config.user_role_values,
|
||||
disable_role_dropdown: !current_user.is_admin || (bot.is_owner && !current_user.is_owner),
|
||||
bot_avatar_url: bot.avatar_url,
|
||||
owner_full_name,
|
||||
current_bot_owner: bot.bot_owner_id,
|
||||
is_incoming_webhook_bot: bot.bot_type === INCOMING_WEBHOOK_BOT_TYPE,
|
||||
});
|
||||
$container.append($(html_body));
|
||||
|
Reference in New Issue
Block a user