mirror of
https://github.com/zulip/zulip.git
synced 2026-07-06 21:18:58 +08:00
settings_org: Move video chat provider from update_dependent_subsettings.
Since `settings_org.update_dependent_subsettings` handles settings whose value and state depend on other elements and video chat provider settings is an independent setting moving it out of update_dependent_subsettings.
This commit is contained in:
parent
8b92999d69
commit
cb0aaa5197
@ -577,9 +577,6 @@ function update_dependent_subsettings(property_name) {
|
||||
}
|
||||
|
||||
switch (property_name) {
|
||||
case "realm_video_chat_provider":
|
||||
set_video_chat_provider_dropdown();
|
||||
break;
|
||||
case "realm_allow_message_editing":
|
||||
update_message_edit_sub_settings(page_params.realm_allow_message_editing);
|
||||
break;
|
||||
@ -712,6 +709,9 @@ export function discard_property_element_changes(elem, for_realm_default_setting
|
||||
case "realm_move_messages_between_streams_limit_seconds":
|
||||
set_msg_move_limit_setting(property_name);
|
||||
break;
|
||||
case "realm_video_chat_provider":
|
||||
set_video_chat_provider_dropdown();
|
||||
break;
|
||||
case "realm_message_retention_days":
|
||||
case "message_retention_days":
|
||||
set_message_retention_setting_dropdown(sub);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user