mirror of https://github.com/zulip/zulip.git
settings_components: Refactor code in check_property_changed.
This commit updates code in check_property_changed to handle all time limit settings in the same switch case.
This commit is contained in:
parent
40ce7d3df5
commit
a6cc9acb22
|
@ -537,8 +537,6 @@ export function check_property_changed(elem, for_realm_default_settings, sub, gr
|
|||
proposed_val = get_dropdown_list_widget_setting_value($elem);
|
||||
break;
|
||||
case "email_notifications_batching_period_seconds":
|
||||
proposed_val = get_time_limit_setting_value($elem, false);
|
||||
break;
|
||||
case "realm_message_content_edit_limit_seconds":
|
||||
case "realm_message_content_delete_limit_seconds":
|
||||
case "realm_move_messages_between_streams_limit_seconds":
|
||||
|
|
Loading…
Reference in New Issue