mirror of https://github.com/zulip/zulip.git
settings: Fix live-update of setting elements.
Some of the group setting elements were not live-updated correctly since they were not present in realm_settings dict and sync_realm_settings is only called for settings present in that dict.
This commit is contained in:
parent
072da3b0d3
commit
891e58bb1a
|
@ -210,9 +210,15 @@ export function dispatch_normal_event(event) {
|
||||||
allow_message_editing: noop,
|
allow_message_editing: noop,
|
||||||
avatar_changes_disabled: settings_account.update_avatar_change_display,
|
avatar_changes_disabled: settings_account.update_avatar_change_display,
|
||||||
bot_creation_policy: settings_bots.update_bot_permissions_ui,
|
bot_creation_policy: settings_bots.update_bot_permissions_ui,
|
||||||
|
can_add_custom_emoji_group: noop,
|
||||||
|
can_create_groups: noop,
|
||||||
|
can_create_private_channel_group: noop,
|
||||||
|
can_create_public_channel_group: noop,
|
||||||
can_delete_any_message_group: noop,
|
can_delete_any_message_group: noop,
|
||||||
can_delete_own_message_group: noop,
|
can_delete_own_message_group: noop,
|
||||||
|
can_manage_all_groups: noop,
|
||||||
can_move_messages_between_channels_group: noop,
|
can_move_messages_between_channels_group: noop,
|
||||||
|
can_move_messages_between_topics_group: noop,
|
||||||
create_multiuse_invite_group: noop,
|
create_multiuse_invite_group: noop,
|
||||||
invite_to_stream_policy: noop,
|
invite_to_stream_policy: noop,
|
||||||
default_code_block_language: noop,
|
default_code_block_language: noop,
|
||||||
|
|
Loading…
Reference in New Issue