mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 07:23:22 +00:00
streams: Rename can_remove_subscribers_group_id parameter.
Earlier the API endpoints related to streams accepts and returns a field `can_remove_subscribers_group_id` which represents the ID of user_group whose members can remove subscribers from stream. This commit renames this field to `can_remove_subscribers_group`.
This commit is contained in:
@@ -210,13 +210,13 @@ export function show_settings_for(node) {
|
||||
});
|
||||
|
||||
const opts = {
|
||||
widget_name: "can_remove_subscribers_group_id",
|
||||
widget_name: "can_remove_subscribers_group",
|
||||
data: user_groups.get_realm_user_groups_for_dropdown_list_widget(
|
||||
"can_remove_subscribers_group",
|
||||
),
|
||||
default_text: $t({defaultMessage: "No user groups"}),
|
||||
include_current_item: false,
|
||||
value: sub.can_remove_subscribers_group_id,
|
||||
value: sub.can_remove_subscribers_group,
|
||||
on_update() {
|
||||
settings_org.save_discard_widget_status_handler(
|
||||
$("#stream_permission_settings"),
|
||||
|
||||
Reference in New Issue
Block a user