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:
YJDave
2017-12-20 22:28:49 +05:30
committed by showell
parent 2ca0fb4128
commit 15dd94035c
8 changed files with 23 additions and 4 deletions

View File

@@ -50,6 +50,7 @@ function _setup_page() {
realm_message_retention_days: page_params.realm_message_retention_days,
realm_allow_edit_history: page_params.realm_allow_edit_history,
language_list: page_params.language_list,
new_user_bot_configured: page_params.new_user_bot_configured,
realm_default_language: page_params.realm_default_language,
realm_waiting_period_threshold: page_params.realm_waiting_period_threshold,
realm_notifications_stream_id: page_params.realm_notifications_stream_id,