mirror of https://github.com/zulip/zulip.git
Changes new hashing behavior to parse new as /subscribers/new
This commit corrects new as left tab behavior
This commit is contained in:
parent
91bd6e2b12
commit
8ef5007379
|
@ -314,6 +314,10 @@ function do_hashchange_overlay(old_hash) {
|
|||
if (coming_from_overlay && base === old_base) {
|
||||
if (base === "channels") {
|
||||
// e.g. #channels/29/social/subscribers
|
||||
if (section == "new") {
|
||||
section = "subscribers";
|
||||
right_side_tab = "new";
|
||||
}
|
||||
const right_side_tab = hash_parser.get_current_nth_hash_section(3);
|
||||
stream_settings_ui.change_state(section, undefined, right_side_tab);
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue