Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
user_profile: Sort the stream list on update.
Palash Baderia1e85683570d2
diff --git a/web/src/user_profile.js b/web/src/user_profile.jsindex 481536306d2..7c8d9327bf2 100644--- a/web/src/user_profile.js+++ b/web/src/user_profile.js@@ -46,6 +46,7 @@ export function update_user_profile_streams_list_for_users(user_ids) {const user_id = get_user_id_if_user_profile_modal_open();if (user_id && user_ids.includes(user_id) && user_streams_list_widget !== undefined) {const user_streams = stream_data.get_streams_for_user(user_id).subscribed;+ user_streams.sort(compare_by_name);user_streams_list_widget.replace_list_data(user_streams);}}