mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 06:23:38 +00:00
message_view_header: Include right tab in stream settings link.
Previously, the link opened on clicking the stream name in
header was "#streams/{stream_id}/{stream_name}". It is now
changed to "#streams/{stream_id}/{stream_name}/general" as
the stream edit UI is opened with "general" tab.
This commit is contained in:
@@ -54,7 +54,7 @@ function get_message_view_header_context(filter) {
|
|||||||
context.sub_count = sub_count;
|
context.sub_count = sub_count;
|
||||||
context.stream = current_stream;
|
context.stream = current_stream;
|
||||||
context.stream_settings_link =
|
context.stream_settings_link =
|
||||||
"#streams/" + current_stream.stream_id + "/" + current_stream.name;
|
"#streams/" + current_stream.stream_id + "/" + current_stream.name + "/general";
|
||||||
}
|
}
|
||||||
return context;
|
return context;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user