mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 08:26:11 +00:00
settings: Replace "Delete bot" with "Deactivate bot".
The feature deactivates the bot user; Zulip has no "delete bot" feature. So fix the label to match what it does. We also change the icon to match the one we use for deactivating users in the "Manage users" UI.
This commit is contained in:
@@ -362,7 +362,7 @@ export function set_up() {
|
||||
$(`[name*='${CSS.escape(selected_bot)}']`).show();
|
||||
});
|
||||
|
||||
$("#active_bots_list").on("click", "button.delete_bot", (e) => {
|
||||
$("#active_bots_list").on("click", "button.deactivate_bot", (e) => {
|
||||
const bot_id = Number.parseInt($(e.currentTarget).attr("data-user-id"), 10);
|
||||
|
||||
channel.del({
|
||||
|
||||
Reference in New Issue
Block a user