mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 16:37:23 +00:00
Remove unnecessary call to build_stream_list().
In refresh_pinned_or_unpinned_stream(), we no longer call build_stream_list(), because that's already called in update_streams_sidebar().
This commit is contained in:
@@ -507,7 +507,6 @@ exports.refresh_pinned_or_unpinned_stream = function (sub) {
|
|||||||
// Pinned/unpinned streams require re-ordering.
|
// Pinned/unpinned streams require re-ordering.
|
||||||
// We use kind of brute force now, which is probably fine.
|
// We use kind of brute force now, which is probably fine.
|
||||||
sub.sidebar_li = build_stream_sidebar_row(sub.name);
|
sub.sidebar_li = build_stream_sidebar_row(sub.name);
|
||||||
exports.build_stream_list();
|
|
||||||
exports.update_streams_sidebar();
|
exports.update_streams_sidebar();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user