mirror of https://github.com/zulip/zulip.git
subs: Fix reloading the browser to "manage streams" UI.
I'm not sure when this regressed, but the bug is one of those subtle "8" != 8 issues. Fixes #13756.
This commit is contained in:
parent
b2c71b7cd8
commit
7af6be9aaf
|
@ -615,7 +615,7 @@ exports.change_state = function (section) {
|
|||
|
||||
// if the section is a valid number.
|
||||
if (/\d+/.test(section)) {
|
||||
const stream_id = section;
|
||||
const stream_id = parseInt(section, 10);
|
||||
// Guest users can not access unsubscribed streams
|
||||
// So redirect guest users to 'subscribed' tab
|
||||
// for any unsubscribed stream settings hash
|
||||
|
|
Loading…
Reference in New Issue