From dbd44bff5c5f805cd7bfdc4f4ac1355957304b88 Mon Sep 17 00:00:00 2001 From: afeefuddin Date: Tue, 21 May 2024 01:12:28 +0530 Subject: [PATCH] settings_components: Rename subsection to $subsection_elem. --- web/src/settings_components.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/settings_components.ts b/web/src/settings_components.ts index c88cbd5e46..14da031c92 100644 --- a/web/src/settings_components.ts +++ b/web/src/settings_components.ts @@ -900,14 +900,14 @@ export function check_property_changed( } export function populate_data_for_request( - subsection: JQuery, + $subsection_elem: JQuery, for_realm_default_settings: boolean, sub: StreamSubscription | undefined, group: UserGroup | undefined, custom_profile_field?: CustomProfileField | undefined, ): Record { let data: Record = {}; - const properties_elements = get_subsection_property_elements(subsection); + const properties_elements = get_subsection_property_elements($subsection_elem); for (const input_elem of properties_elements) { const $input_elem = $(input_elem); if (