mirror of
https://github.com/zulip/zulip.git
synced 2025-11-16 20:02:15 +00:00
user_groups: Allow setting and changing can_leave_group setting.
Fixes #31951.
This commit is contained in:
committed by
Tim Abbott
parent
1862c3b333
commit
797438b0f7
@@ -190,6 +190,13 @@ function show_general_settings(group) {
|
||||
setting_type: "group",
|
||||
group,
|
||||
});
|
||||
|
||||
settings_components.create_group_setting_widget({
|
||||
$pill_container: $edit_container.find(".can-leave-group-container .pill-container"),
|
||||
setting_name: "can_leave_group",
|
||||
setting_type: "group",
|
||||
group,
|
||||
});
|
||||
update_general_panel_ui(group);
|
||||
|
||||
if (!page_params.development_environment) {
|
||||
|
||||
Reference in New Issue
Block a user