mirror of
https://github.com/zulip/zulip.git
synced 2025-11-14 02:48:00 +00:00
frontend: Update when communities directory checkbox is disabled.
Changes the admin UI for the communities directory checkbox to use the `realm_push_notifications_enabled` page param instead of the `server_web_public_streams_enabled` page param. Updates help center documentation about the communities directory to have clearer information about how the setting works for self-hosted communitites.
This commit is contained in:
committed by
Tim Abbott
parent
9273c314cf
commit
bb45c04136
@@ -171,7 +171,7 @@ export function build_page() {
|
||||
realm_want_advertise_in_communities_directory:
|
||||
page_params.realm_want_advertise_in_communities_directory,
|
||||
disable_want_advertise_in_communities_directory:
|
||||
!page_params.server_web_public_streams_enabled,
|
||||
!page_params.realm_push_notifications_enabled,
|
||||
};
|
||||
|
||||
if (options.realm_logo_source !== "D" && options.realm_night_logo_source === "D") {
|
||||
|
||||
Reference in New Issue
Block a user