mirror of
https://github.com/zulip/zulip.git
synced 2026-07-18 21:04:19 +08:00
subs: fix incorrect stream_info re-initialization.
Using [] doesn't cause incorrect behavior, but it's a mismatch with how stream_info is initially declared and gives you a confusing representation at the console. (imported from commit c03d9e6a29ff990659f41ee478f631a019a5ac25)
This commit is contained in:
parent
6b4196a74a
commit
750b8326d7
@ -474,7 +474,7 @@ exports.reload_subscriptions = function (opts) {
|
||||
}
|
||||
|
||||
if (opts.clear_first) {
|
||||
stream_info = [];
|
||||
stream_info = {};
|
||||
ui.remove_all_narrow_filters();
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user