Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

admin: Remove unnecessary development_environment check.

Sahil Batra1d5a083869ec
diff --git a/web/src/admin.js b/web/src/admin.js
index 1f79648dc85..9689f18073e 100644
--- a/web/src/admin.js
+++ b/web/src/admin.js
@@ -255,11 +255,7 @@ export function build_page() {
const is_plan_plus = page_params.realm_plan_type === 10;
const is_plan_self_hosted = page_params.realm_plan_type === 1;
- if (
- page_params.development_environment &&
- page_params.is_admin &&
- !(is_plan_plus || is_plan_self_hosted)
- ) {
+ if (page_params.is_admin && !(is_plan_plus || is_plan_self_hosted)) {
$("#realm_can_access_all_users_group_widget").prop("disabled", true);
const opts = {
content: $t({