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.

subs: Disable the retention dropdown in stream creation form also.

sahil83990a85ab4421e
diff --git a/static/js/subs.js b/static/js/subs.js
index 2a35870a4d8..df07c31d0fc 100644
--- a/static/js/subs.js
+++ b/static/js/subs.js
@@ -645,6 +645,8 @@ export function setup_page(callback) {
stream_edit.get_display_text_for_realm_message_retention_setting,
upgrade_text_for_wide_organization_logo:
page_params.upgrade_text_for_wide_organization_logo,
+ disable_message_retention_setting:
+ !page_params.zulip_plan_is_not_limited || !page_params.is_owner,
};
const rendered = render_subscription_table_body(template_data);