mirror of https://github.com/zulip/zulip.git
Fix some bugs for changing stream privacy.
The function stream_data.add_admin_options() got removed as part of a somewhat recent fix. This caused a console error, and the modal would not go away. We now call the new stream_data.update_calculated_fields(). This commit only addresses the recent regression. We still have the known issue that public/private changes do not get live-updated for other users.
This commit is contained in:
parent
dc2a9a4c5b
commit
a9031fe7b3
|
@ -273,7 +273,7 @@ function redraw_privacy_related_stuff(sub_row, sub) {
|
|||
var stream_settings = settings_for_sub(sub);
|
||||
var html;
|
||||
|
||||
sub = stream_data.add_admin_options(sub);
|
||||
stream_data.update_calculated_fields(sub);
|
||||
|
||||
html = templates.render('subscription_setting_icon', sub);
|
||||
sub_row.find('.icon').expectOne().replaceWith($(html));
|
||||
|
|
Loading…
Reference in New Issue