zulip/static
sahil839 df43d6d99e stream_edit: Fix bug of disabling of "Add" button on subscribing.
We live update the "Add subscribers" UI on subscribing/unsubscribing
the stream and the field sub.can_add_subscribers is used to check
whether user is allowed to add subscribers or not.

The sub object used here is not the complete sub object and thus
sub.can_add_subscribers is undefined. We need to use the updated
sub obejcts with all the setting fields that we can get from
'stream_settings_data.get_sub_for_settings' before rendering UI.

This calculation of additional fields was done previously by
'stream_data.update_calculated_fields', but in d50462568b
call to 'updated_calculated_fields' was removed with the aim to
call 'get_sub_for_settings' before updating UI which was missed
in this part of UI update.

Fixes #18616.
2021-05-27 16:49:10 -07:00
..
assets zulip-icon: Add `zulip-icon` as classPrefix for icon. 2021-04-29 09:02:25 -07:00
audio notificaiton_sounds: Add some atonal sounds created by @stwime. 2021-02-05 12:28:20 -08:00
generated
html templates: Mark all void tags as self-closing. 2021-04-21 09:49:34 -07:00
images integrations: Add Sonarr Integration. 2021-05-26 17:12:28 -07:00
js stream_edit: Fix bug of disabling of "Add" button on subscribing. 2021-05-27 16:49:10 -07:00
shared docs: Correct “webapp” to “web app”. 2021-05-14 13:15:38 -07:00
styles left_sidebar: Set the width of stream-list-filter to 236px. 2021-05-25 19:49:49 +05:30
templates message view: Allow muted user message to be rehidden. 2021-05-21 17:23:29 -07:00
third minor: Simplify `usermention` regex and properly use capturing groups. 2021-05-20 11:35:04 -07:00
.gitignore dependencies: Replace moment.js with date-fns. 2021-02-05 11:04:32 -08:00