mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 23:43:43 +00:00
org settings: Handle NEW_USER_BOT not being set.
If NEW_USER_BOT is not configured in organization, then disable setting for selecting stream for new user notification.
This commit is contained in:
@@ -198,7 +198,7 @@ exports.render_signup_notifications_stream_ui = function (stream_id) {
|
||||
|
||||
var name = stream_data.maybe_get_stream_name(stream_id);
|
||||
|
||||
if (!name) {
|
||||
if (!name || !page_params.new_user_bot_configured) {
|
||||
elem.text(i18n.t("Disabled"));
|
||||
elem.addClass("text-warning");
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user