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:
Lauryn Menard
2022-05-24 01:33:11 +02:00
committed by Tim Abbott
parent 9273c314cf
commit bb45c04136
2 changed files with 25 additions and 11 deletions

View File

@@ -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") {