diff --git a/web/src/settings.js b/web/src/settings.js index 65cab9767c..abaf12ac63 100644 --- a/web/src/settings.js +++ b/web/src/settings.js @@ -175,6 +175,7 @@ export function initialize() { show_uploaded_files_section: page_params.max_file_upload_size_mib > 0, show_emoji_settings_lock: !page_params.is_admin && page_params.realm_add_emoji_by_admins_only, + can_create_new_bots: settings_bots.can_create_new_bots(), }); $("#settings_overlay_container").append(rendered_settings_overlay); } diff --git a/web/templates/settings_overlay.hbs b/web/templates/settings_overlay.hbs index c13c8544be..9d0aa47e6c 100644 --- a/web/templates/settings_overlay.hbs +++ b/web/templates/settings_overlay.hbs @@ -127,7 +127,7 @@