mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 01:16:19 +00:00
This initializes the bot_creation_policy_values after the page is loaded. Previously we initialize these values in `settings.js` when settings page is loaded at least once, so if we open two tabs, one(1) in which we haven't opened the settings page yet and if in another tab (2) we update the `bot_creation_policy` value, then because of the event which calls `settings_bots.update_bot_permissions_ui` causes exception in (1) because `bot_creation_policy_values` isn't initialized yet. Fixes: #8852.
3.0 KiB
3.0 KiB