From 260851cd0ecd55bbd44cf8778cb250a8a5679de6 Mon Sep 17 00:00:00 2001 From: Sahil Batra Date: Tue, 23 Nov 2021 16:37:58 +0530 Subject: [PATCH] settings: Show enable_spectator_access option if server-setting is enabled. We show the "Allow creating web-public streams" setting in UI only if settings.WEB_PUBLIC_STREAMS_ENABLED is true on the server. --- static/templates/settings/organization_permissions_admin.hbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/templates/settings/organization_permissions_admin.hbs b/static/templates/settings/organization_permissions_admin.hbs index 4fbe0dd304..4848ce6390 100644 --- a/static/templates/settings/organization_permissions_admin.hbs +++ b/static/templates/settings/organization_permissions_admin.hbs @@ -107,7 +107,7 @@ setting_name="realm_enable_spectator_access" prefix="id_" is_checked=realm_enable_spectator_access - render_only=page_params.development_environment + render_only=page_params.server_web_public_streams_enabled label=admin_settings_label.realm_enable_spectator_access}}