mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 23:13:25 +00:00
settings: Remove obsolete lines of code.
There don't exist any element with this classes and it seems they are accidentally added during addition of `bot_creation_policy`.
This commit is contained in:
@@ -164,12 +164,10 @@ exports.update_bot_permissions_ui = function () {
|
|||||||
!page_params.is_admin) {
|
!page_params.is_admin) {
|
||||||
$('#create_bot_form').hide();
|
$('#create_bot_form').hide();
|
||||||
$('.add-a-new-bot-tab').hide();
|
$('.add-a-new-bot-tab').hide();
|
||||||
$('.account-api-key-section').hide();
|
|
||||||
focus_tab.active_bots_tab();
|
focus_tab.active_bots_tab();
|
||||||
} else {
|
} else {
|
||||||
$('#create_bot_form').show();
|
$('#create_bot_form').show();
|
||||||
$('.add-a-new-bot-tab').show();
|
$('.add-a-new-bot-tab').show();
|
||||||
$('.account-api-key-section').show();
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user