mirror of
https://github.com/zulip/zulip.git
synced 2025-11-14 10:57:58 +00:00
refactor: Extract stream_data.clean_up_description().
We use this in the few places where update_calculated_fields() could plausibly be dealing with a new rendered description.
This commit is contained in:
@@ -436,6 +436,7 @@ export function show_settings_for(node) {
|
||||
const sub = stream_data.get_sub_by_id(stream_id);
|
||||
|
||||
stream_settings_data.update_calculated_fields(sub);
|
||||
stream_data.clean_up_description(sub);
|
||||
const html = render_subscription_settings({
|
||||
sub,
|
||||
settings: stream_settings(sub),
|
||||
|
||||
Reference in New Issue
Block a user