mirror of
https://github.com/zulip/zulip.git
synced 2026-06-24 21:08:25 +08:00
stream_list: Call update_streams_sidebar() on renames.
If you rename a stream, call update_streams_sidebar() to make sure we redraw the active stream correctly.
This commit is contained in:
parent
76f68e9836
commit
8eb9723283
@ -333,7 +333,7 @@ exports.update_dom_with_unread_counts = function (counts) {
|
||||
exports.rename_stream = function (sub) {
|
||||
// The sub object is expected to already have the updated name
|
||||
build_stream_sidebar_row(sub);
|
||||
exports.build_stream_list(); // big hammer
|
||||
exports.update_streams_sidebar(); // big hammer
|
||||
};
|
||||
|
||||
exports.refresh_pinned_or_unpinned_stream = function (sub) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user